Al Poole
fa03323a20
content: move alternative content to edi_content.c
...
Slight refactoring to complement the previous commits regarding tab sizing.
2018-03-17 17:43:34 +00:00
Al Poole
81165c426f
tabs: Ensure that all content types load with good dimensions.
...
This ensures code, text and images are loaded properly with
proper dimensions. This means there is no jumping about when
switching tabs with multiple panels, multiple tabs and any
type of content. Moved the image_add to centralise the
generation of statusbar.
2018-02-22 15:38:53 +00:00
Andy Williams
405f93efe1
build: Add support for cargo based rust projects
...
In the process we needed to define if a project can be run...
Python and rust can always be run as they will build their binaries
whereas make and cmake need to be configured etc...
2017-07-05 20:51:38 +01:00
Andy Williams
849619d32b
tabs: correct remembering of mime types
...
Fixes issues where code functions would not appear to load for old tabs
2017-06-27 16:48:49 +01:00
Al Poole
11fa36b145
provider: add fallback for text-based mimetypes.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4892
2017-05-21 23:23:18 +01:00
Andy Williams
2262d7bf1c
elm_code: Removed and migrated to using the elementary merged version
2016-06-10 10:03:40 +01:00
Andy Williams
1b10edb079
typo--
2015-08-28 00:13:38 +01:00
Andy Williams
9567122d09
diff: Respect configured font (size)
2015-05-30 10:31:46 +01:00
Andy Williams
f4c48d4ca9
elm_code: support setting custom fonts
...
For EDI create the config that would allow this to be altered.
Actual setting widget to follow...
2015-05-30 10:31:46 +01:00
Andy Williams
d6bb571c89
filesystem: Use standardised icon names
2015-02-27 14:49:57 +00:00
Andy Williams
9751009a7e
files: Use correct icon for mime/editor type
...
Use mime type or user selected default type for file icons.
Use the same icon lookups for our popup menus to be consistent too.
2015-02-22 14:17:51 +00:00
Andy Williams
3a3bf2b6db
editor: Control the auto-save function locally so we can re-sync with clang.
...
This should mean that highlighting, whilst still slow and flickery, does not corrupt.
2015-02-08 23:22:16 +00:00
Andy Williams
fbd84d8782
config: Fix indentation, pluralisation and tests for remember-mime work
2015-02-07 16:37:36 +00:00
Kelly Wilson
cb872785f4
Config: remember file types
...
We now associate the mime type of a file with the type of file to open. So open a .py file as text once and then you won't be prompted any more.
2015-02-07 01:13:40 -07:00
Andy Williams
c233fcad81
Split code editor type from text, don't try to highlight text.
...
Update our internal registry to know the difference between text and code.
Add some tests that verify we're getting the right type of editor.
2015-02-06 14:16:26 +00:00
Kelly Wilson
0b5fa028bb
Content Provider: add new types
...
Add C++ .cpp and .hpp file types to our mime type detection function.
2015-02-05 18:27:02 -07:00
Andy Williams
203f2619e1
Fix crash when creating a new file
2015-01-27 22:31:12 +00:00
Andy Williams
01cb36f510
More updates to correct API/export declarations for Windows.
...
Various changes brought in. Patch from Vincent Torri - thanks
2015-01-10 17:43:12 +00:00
Andy Williams
ada1529dce
Let's open .eo files too
2015-01-23 23:31:28 +00:00
Andy Williams
2249bcfc71
Adding replace support to our search bar.
...
Run a search first if one has not been, from then replace the current term and search again.
Submitted by Kelly Wilson
2015-01-18 17:36:12 +00:00
Andy Williams
2538f6cf90
Refactor mime type lookup and UI creation code to use a content_provider registry.
...
This is static at the moment but could be made dynamic to allow code to hook in new views
2014-11-28 23:34:36 +00:00