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 |
Andy Williams
|
9e987828ed
|
elm_code: Ignore eolian generated files
|
2015-02-21 14:13:05 +00:00 |
Andy Williams
|
fc2a57a11f
|
let's re-release 0.0.1
|
2015-02-21 14:11:10 +00:00 |
Andy Williams
|
f9242b82ab
|
filesystem: don't refresh on every change
Just do the minimum for now - refresh when we add a file.
The constant monitoring needs a slicker refresh mechanism.
|
2015-02-21 14:10:25 +00:00 |
Andy Williams
|
bf81658432
|
console: Fix where clicking an error does nothing
Fix up the directory parsing to link current directory
to the line an error was reported in.
|
2015-02-21 14:04:55 +00:00 |
Andy Williams
|
1fab95cef1
|
Merge branch 'master' into elm_code
Conflicts:
elm_code/src/lib/elm_code_widget.c
elm_code/src/lib/elm_code_widget.eo.c
elm_code/src/lib/elm_code_widget.eo.h
|
2015-02-19 22:39:11 +00:00 |
Andy Williams
|
cc541eda99
|
Update to 0.0.2 for builds now
|
2015-02-19 22:35:43 +00:00 |
Andy Williams
|
36ab399b59
|
eo: remove generated files from git
|
2015-02-19 22:35:01 +00:00 |
Andy Williams
|
704e70a407
|
about: Show version in about window
|
2015-02-19 22:20:10 +00:00 |
Andy Williams
|
f187a32f55
|
Adding news about the 0.0.1 status
|
2015-02-19 22:16:16 +00:00 |
Andy Williams
|
97c8c0ac75
|
elm_code: Update FIXME to be realisic - the textgrid size_set does not append
|
2015-02-19 21:52:41 +00:00 |
Andy Williams
|
eba8421411
|
filesystem: Update our listing if files are added or removed @fix T1857.
This needs to be improved so it does not collapse the listing etc.
The implementation needs to clean up after itself better too
|
2015-02-19 21:50:11 +00:00 |
Andy Williams
|
187d9e609a
|
elm_code: get / set the cursor position
When the cursor is updated make sure we have scrolled
so it's visible. Also adjust focus next points too.
|
2015-02-19 21:16:18 +00:00 |