Andy Williams
|
4c8b09de04
|
elm_code selection: move cursor to selection
|
2015-03-22 22:28:07 +00:00 |
Andy Williams
|
fb7dab9c90
|
editor: fix goto line
broke during elm_code migration, working again
|
2015-03-21 21:56:59 +00:00 |
Andy Williams
|
4583d2d800
|
testpanel: fix crash for short log lines
And correctly highlight test failures
|
2015-03-21 21:55:28 +00:00 |
Andy Williams
|
8eb3978c1e
|
elm_code widget: fire user change events
This does not yet have a "change" attached so does not
support undo/redo yet
|
2015-03-21 20:04:12 +00:00 |
Andy Williams
|
4aa3defb30
|
editor: save using elm_code's new save method
|
2015-03-21 19:53:21 +00:00 |
Andy Williams
|
f7f257fca4
|
elm_code file: add save method to write out lines
use a temporary file as we may have mapped the data directly.
|
2015-03-21 19:25:25 +00:00 |
Andy Williams
|
a671101a09
|
elm_code file: get line ending chars
Quickly add support for the line end character sequence.
Just windows and Unix now, as per the enum defined.
|
2015-03-21 13:58:30 +00:00 |
Andy Williams
|
c29c9c5133
|
editor: display the line endings for the file
|
2015-03-21 13:56:27 +00:00 |
Andy Williams
|
adcff7bde3
|
elm_code selection: Input selecttion from mouse
When editable allow dragging the cursor with a mouse button
down then set up a selecttion.
|
2015-03-18 22:24:56 +00:00 |
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
|
8bbec0decd
|
Fix issue referencing missing file
|
2015-03-15 22:30:13 +00:00 |
Andy Williams
|
a446620cfc
|
Update news for 0.0.2
|
2015-03-15 22:29:08 +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 |