Andy Williams
|
59450c71f2
|
elm_code whitespace: only display actual newlines
No newlines at the end of a file if there is no other line
|
2015-03-18 22:18:34 +00:00 |
Andy Williams
|
331e60969f
|
elm_code: selection highlighting
Adding initial support for displaying selection within the widget
|
2015-03-17 22:42:03 +00:00 |
Andy Williams
|
6d55e32c0c
|
elm_code file: detect line endings
Check for Windows otherwise default to unix for now.
|
2015-03-15 23:07:31 +00:00 |
Andy Williams
|
ec427d2ba4
|
Merge branch 'master' into devs/ajwillia-ms/elm_code
|
2015-03-15 19:08:26 +01:00 |
Andy Williams
|
bd3dc4247d
|
elm_code unicode: highlight tokens correctly
When encountering unicode characters make sure we highlight
in the correct columns rather than at the byte locations.
|
2015-03-14 16:42:56 +00:00 |
Andy Williams
|
0509eb1841
|
settings: configure the display of whitespace
Refresh this when config changes
|
2015-03-14 13:10:38 +00:00 |
Andy Williams
|
04ec5efa24
|
welcome: Fix launch crash issue on some systems
|
2015-03-12 00:52:41 +01:00 |
Andy Williams
|
f137cc5321
|
editor: fix issue with closed tabs
|
2015-03-15 13:27:15 +00:00 |
Andy Williams
|
8730b4dfb3
|
config: Update editor when font size changes
|
2015-03-08 22:28:21 +01:00 |
Andy Williams
|
b97da3b70a
|
Merge branch 'master' into devs/ajwillia-ms/elm_code
|
2015-03-08 22:27:38 +01:00 |
Andy Williams
|
e62ddd5bc1
|
config: add settings screen
Add a new autosave flag, upgrade config so it's set.
Listen to a config_changed event to update UI where required.
|
2015-03-08 22:14:25 +01:00 |
Andy Williams
|
fcac809e97
|
gui: break toolbar in 2 so we can right align.
Not perfect as there's a visible break, further attempts
will need a custom theme.
|
2015-03-08 22:04:00 +01:00 |
Andy Williams
|
bda40e5f65
|
elm_code editor: fix crash backspacing last line
fill an empty line if we're deleting the last line
|
2015-03-08 12:07:29 +01:00 |
Andy Williams
|
9f332be6fe
|
elm_code edit: split content on newline.
Tokens also need to be split so this is text only for now
|
2015-03-08 11:52:12 +01:00 |
Andy Williams
|
2f25503f8f
|
elm_code widget: backspace or delete merges lines
This is text only for now but serves as editor foundation.
|
2015-03-08 11:33:07 +01:00 |
Andy Williams
|
ecb35beb30
|
elm_code line: move freeing to the line file
|
2015-03-08 11:15:31 +01:00 |
Andy Williams
|
ff68af7076
|
elm_code line: unsigned int for length
|
2015-03-08 11:14:02 +01:00 |
Andy Williams
|
afeab4b53b
|
elm_code edit: support backspace and delete.
don't propogate backspace as other widgets use it to navigate
adjust tokens left when we remove content and remove if 0 width token.
|
2015-03-08 09:44:26 +01:00 |
Andy Williams
|
8f668b2deb
|
elm_code unicode: update when editing
issues here with inserting unicode which I need to get to
|
2015-03-07 22:35:59 +01:00 |
Andy Williams
|
b392a21362
|
Add initial unicode support for elm_code
Note the number of utf8 characters when we load the data.
Make sure the widget is referencing unicode_length
for all our metrics.
|
2015-03-07 20:48:02 +01:00 |
Andy Williams
|
1978da98cf
|
elm_code editor: adjust tokens when we insert text
|
2015-02-28 22:50:18 +00:00 |
Andy Williams
|
f354c9a8b2
|
elm_code demo: Show multiple widgets for one code.
Illustrates that we can display a single elm_code in many widgets
|
2015-02-27 15:33:06 +00:00 |
Andy Williams
|
b28773a7f6
|
Merge branch 'master' into devs/ajwillia-ms/elm_code
|
2015-02-27 15:13:06 +00:00 |
Andy Williams
|
0c2819bd4f
|
editor: update to latest elm_code and show whitespace
|
2015-02-28 16:28:22 +00:00 |
Andy Williams
|
7ed4aa9695
|
Merge branch 'master' into elm_code
Conflicts:
elm_code/src/lib/elm_code_diff_widget.c
|
2015-02-28 15:31:57 +00:00 |
Andy Williams
|
3e5de50399
|
elm_code widget: add show_whitespace option
display items for space, tab and newline if requested
|
2015-02-28 14:59:42 +00:00 |
Andy Williams
|
91b426d93e
|
elm_code: support line insertion
in our widget call a line insertion on enter pressed
|
2015-02-28 14:20:32 +00:00 |
Andy Williams
|
e0477ff3cb
|
elm_code: require an elm_code for each widget
In our finalizer we ensure that an elm_code is set.
No longer allow code_set to be called after construction.
|
2015-02-28 13:22:38 +00:00 |
Andy Williams
|
e8297bc390
|
elm_code tests: fix test path
|
2015-02-28 13:14:18 +00:00 |
Andy Williams
|
39c87635ea
|
elm_code: Fix finalized check macro
|
2015-02-27 15:07:38 +00:00 |
Andy Williams
|
d2faf448b8
|
rework configure.ac, remove attribute and quicklaunch
tests are they are not used.
Patch from Vincent Torri
|
2015-02-28 16:04:16 +00:00 |
Andy Williams
|
2db478cca6
|
create: Pick up username in Windows.
Look up USERNAME if no USER environment variable is found.
Patch from Vincent Torri
|
2015-02-28 15:53:39 +00:00 |
Andy Williams
|
d6bb571c89
|
filesystem: Use standardised icon names
|
2015-02-27 14:49:57 +00:00 |
Andy Williams
|
40a6d3b3fd
|
elm_code edit: Support insert of any single char.
broadens from alphanumeric to include punctionation
and various symbols.
|
2015-02-26 23:56:10 +00:00 |
Andy Williams
|
a97cb87aca
|
elm_code parse: Add standard parsers starting with diff.
Allow code instances to have provided parsers added easily.
These can be chained to have multiple passes.
|
2015-02-26 23:19:09 +00:00 |
Andy Williams
|
079a65a98b
|
merge changes from master
|
2015-02-26 13:56:50 +00:00 |
Andy Williams
|
b2a18b6db7
|
elm_code: Move parser callbacks to private.
Don't expose the internal callback mechanics, just the addition of parsers
|
2015-02-26 13:54:46 +00:00 |
Andy Williams
|
881860bc15
|
console: Fix possible crash if errors occur before make starts
|
2015-02-25 23:29:31 +00:00 |
Andy Williams
|
c98ba7d1e8
|
syntax: Actually use the elm_code parser api.
Improve the API to allow passing of user data to the calls.
Yes, I forgot about this, it works well so remove the STYLE_SET callback
|
2015-02-24 00:32:40 +00:00 |
Andy Williams
|
94223c1788
|
elm_code: Add missing status icons from new states
|
2015-02-24 00:26:58 +00:00 |
Andy Williams
|
35f225292e
|
create: Merge in welcome crash fixes from master
|
2015-02-23 21:58:39 +00:00 |
Andy Williams
|
71fa2d13c8
|
elm_code: display a line-width marker if requested
|
2015-02-23 21:52:49 +00:00 |
Andy Williams
|
724bf617cb
|
Merge branch master
conflicts in elm_code_widget.c resolved
|
2015-02-22 23:38:54 +00:00 |
Andy Williams
|
0e49f40ff3
|
elm_code: Support text insertion for simple edits.
Hook into the widget for elm_code_test and edi editors.
Only alphanumeric and space, but it's a start.
|
2015-02-22 20:07:08 +00:00 |
Andy Williams
|
c18fccb646
|
syntax: Add line highlighting for clang errors
This never worked on the old elm_entry code!
Highlight where clang knows a problem exists.
Not yet inserting a caret, but there's more to be done...
|
2015-02-21 18:54:52 +00:00 |
Andy Williams
|
7212dc24bb
|
syntax: Remove unneeded timers and threads.
Now that it's all much faster and more reliable we don't need to resync etc
|
2015-02-21 18:48:33 +00:00 |
Andy Williams
|
d5185e2107
|
Merge branch 'master' into elm_code
|
2015-02-21 18:28:07 +00:00 |
Andy Williams
|
bbe671626e
|
elm_code: Support multi-line tokens
Adding a new token to each line it covers.
Each token references the end line so newline behaviour can be set
|
2015-02-21 18:24:17 +00:00 |
Andy Williams
|
dd9f96d2c0
|
syntax: Update clang to output elm_code tokens
Addition of a refresh line command to say we're done.
We no longer need an active window for highlighting
as it's so much faster!
|
2015-02-21 17:30:17 +00:00 |
Andy Williams
|
3510e7124b
|
Back on to next release features
|
2015-02-21 14:26:43 +00:00 |