Commit Graph

258 Commits

Author SHA1 Message Date
Basile Burg db17fb68a8 editor, call tips, decrease level on open paren deletion 2016-04-16 17:36:22 +02:00
Basile Burg 8261d07ca4 fix, wrong pos set after '(' and if eoTabToSpaces is not in the options. 2016-04-16 17:15:32 +02:00
Basile Burg b17c58d924 rewrite auto-closing, get indentation from the previous non blank line 2016-04-16 14:23:52 +02:00
Basile Burg 2973df3589 removed a dead property 2016-04-13 11:28:52 +02:00
Basile Burg 8d71f9d4db editor, brace auto-closing, new line, lexically, not restricted to new line after open brace 2016-04-13 10:56:49 +02:00
Basile Burg dfc479617c replace okCancel dialogs by YesNo dialogs 2016-04-11 07:10:32 +02:00
Basile Burg 87bffb06fc disable the "reload new version" message on main form close 2016-04-11 06:58:12 +02:00
Basile Burg 10796ab262 try to delete temp file name on save with valid name 2016-04-03 04:21:45 +02:00
Basile Burg 7775180f09 fix, brace auto closing broken module includes token strings 2016-03-31 09:52:53 +02:00
Basile Burg e36c0e8c76 prevent multi line markup 2016-03-30 17:47:20 +02:00
Basile Burg 1e73d618b5 editor, comment selection, align comments
+ fix brace auto-closing bug (on new line + tab2sapces not activated)
2016-03-25 22:47:49 +01:00
Basile Burg abfb1728d3 fix #29 2016-03-25 05:59:16 +01:00
Basile Burg 8d6b6f8b99 editor, auto close on new line, change so that each mode has the 3 same sub modes 2016-03-13 22:09:07 +01:00
Basile Burg 44e28a94a8 editor, add more brace auto-closing modes 2016-03-13 18:40:15 +01:00
Basile Burg 0682122b3f removed temp code for #25 and added workaround in the default static macros 2016-03-04 06:14:46 +01:00
Basile Burg 207f9276d6 implement #25 but not enabled 2016-03-02 12:33:52 +01:00
Basile Burg 4272869093 fix #17, ident after curly bracket auto-closing depending on options 2016-02-19 04:56:16 +01:00
Basile Burg 1ff8b9e878 fix, windows, empty line in call tips 2016-02-08 16:30:28 +01:00
Basile Burg d04fd37b2e fix, mess between options and custom commands 2016-02-03 21:33:17 +01:00
Basile Burg 26817c0fd9 deactivate prolematic options 2016-02-03 21:04:56 +01:00
Basile Burg 9bce6dad73 fix, mess between options and custom commands 2016-02-03 20:55:56 +01:00
Basile Burg 467d7abeb1 fix, auto brace closing indent error when option eoAutoIdent was set 2016-02-03 15:51:00 +01:00
Basile Burg 2fed1def96 added shortcut to invert version(all) version(none) is selection or whole doc 2016-02-02 17:08:24 +01:00
Basile Burg 7b423b5b34 added additional brace closing option, lexically 2016-02-02 07:55:15 +01:00
Basile Burg d265769009 added shortcut to un/comment current line or selection 2016-02-01 07:14:45 +01:00
Basile Burg 5b39add5b6 nothing 2016-02-01 06:22:42 +01:00
Basile Burg 767e315164 refact, omit def member 2016-01-31 14:39:50 +01:00
Basile Burg e0e9cbac8f more refact using helpers 2016-01-31 12:13:48 +01:00
Basile Burg 7d1bfc6214 added shortcut to invoke curly brace closing + editor option to auto close curly braces 2016-01-31 06:21:48 +01:00
Basile Burg 803c6a6c15 editor, allowed R/O files to be saved with a new name 2016-01-30 08:46:06 +01:00
Basile Burg 2094449a7d editor, indicates if readonly 2016-01-30 07:58:41 +01:00
Basile Burg c407a40259 refact with type helpers 2016-01-27 04:43:54 +01:00
Basile Burg 619c169024 editor, allow temporarily column selection even if option eoScrollPastEol not enabled 2016-01-24 03:22:11 +01:00
Basile Burg e3656f0d54 added HL for editor project file when proj is DUB json
fix, project file not in sync with current proj when auto reloaded in an editor
2016-01-24 00:37:25 +01:00
Basile Burg 123e7c50dd added D&D from mini-explorer and from proj inspectors 2016-01-21 20:27:54 +01:00
Basile Burg e2ac5ddf31 editor, fix identifier markup, all trailing blank chars marked 2016-01-20 10:32:35 +01:00
Basile Burg 491042dd85 stack call tips 2016-01-20 00:42:07 +01:00
Basile Burg 2bbd854fc8 more style modernisation 2016-01-19 21:52:15 +01:00
Basile Burg 0303d0f75f style modernisation using helpers isEmpty & isNotEmpty 2016-01-11 01:09:21 +01:00
Basile Burg 3fa80be500 style modernisation using helpers isNil & isNotNil 2016-01-11 00:36:10 +01:00
Basile Burg e3831ac404 observers, use generic type to validate 2015-12-26 12:08:25 +01:00
Basile Burg 660d504ba1 fix, ddoc win from prev editor still visible since new page-control added 2015-12-26 04:49:40 +01:00
Basile Burg 5fc8b76512 switch to FPC3 + Laz 1.6 2015-12-22 10:24:18 +01:00
Basile Burg 55d86862e3 added customizable shortcut to show ddoc or call tips 2015-12-20 14:40:30 +01:00
Basile Burg 9f56994620 editor, status bar, doc fname on last panel 2015-12-17 03:22:42 +01:00
Basile Burg 6657eb52ff editor, display macro recorded state in status bar 2015-12-17 02:56:51 +01:00
Basile Burg 7e09355a22 editor, does not replace clipboard to reload newer doc version 2015-12-16 08:30:57 +01:00
Basile Burg f40804ed85 editor, a document can be set always visible in a split view to the right 2015-12-16 03:20:37 +01:00
Basile Burg b0ea3e918c fix, identifier match, markup was no reset when no selection or no identifier 2015-12-15 22:45:27 +01:00
Basile Burg 873adf97f1 fix, completion menu pos 2015-12-15 02:31:52 +01:00
Basile Burg bbdef1778f editor options, identifier match can be tweaked, whole word / case sens 2015-12-15 01:55:09 +01:00
Basile Burg d3f7196af6 fix, completion menu, auto scroll only worked after dot completion
+ ident match fine tweaks: only if more than 2 chars, or always if selection available
2015-12-15 01:19:34 +01:00
Basile Burg f92cb3695e fine tweaked ident match color 2015-12-13 22:08:19 +01:00
Basile Burg f5cfb89d5e disabled gdc in CE proj compiler selection 2015-12-12 20:53:14 +01:00
Basile Burg ce9779d416 editor options, added currentLine attributes 2015-12-12 11:17:46 +01:00
Basile Burg bacac42fb2 editor options, better names
note: breaks reloading of current option file
2015-12-12 11:03:11 +01:00
Basile Burg 87f8385f50 editor, use TSynEdit markup to highligh current identifier matches 2015-12-11 08:39:02 +01:00
Basile Burg e2765665eb editor options, dont reset font size to default
but still stores what's size should be default (CTRL+.)
2015-12-11 04:27:18 +01:00
Basile Burg 09ab1df2a8 fine vis tweakings for win 32 2015-12-11 02:06:03 +01:00
Basile Burg 7f87096d0a nothing 2015-12-10 06:52:32 +01:00
Basile Burg ede1b8eafd editor shortcuts, removed bookmarks (not used) added goto prev/next location
prev next still work with mouse X1/X2 or KB next/prev mmkeys but additionals
shortcut can be defined
2015-12-10 06:41:02 +01:00
Basile Burg a022fcedec editor options, store completion menu lines in windows rather than height 2015-12-10 06:24:01 +01:00
Basile Burg 13dbc5edae reset a gutter setting, on some OS the line sep before folds was not visible anymore 2015-12-10 01:50:51 +01:00
Basile Burg 2131e51016 JumToDefinition and completion menu shortcuts are customizables
using the option editor widget
2015-12-06 06:52:10 +01:00
Basile Burg 9cfad0014e added new editor shortcut to activate synchro edit
+ options, handling of new shortcuts from a version to another
2015-12-06 05:40:32 +01:00
Basile Burg e447a2be64 test markup fold
not supported by Laz 1.4.2
2015-12-04 16:42:05 +01:00
Basile Burg 0f381fb8c3 nothing 2015-12-04 02:39:07 +01:00
Basile Burg 144fd79788 fix, editor cache was not properly reloaded when a document is reopnened
automatically at startup
2015-11-29 17:58:24 +01:00
Basile Burg 7e1118cc24 added completion menu size as persistent option 2015-11-22 22:19:27 +01:00
Basile Burg 9c2dd1f3e8 editor, finely tweaked the gutter color, better compat with sys dark themes 2015-10-17 13:12:47 +02:00
Basile Burg 1ef8dfc4f3 nothing 2015-10-17 00:20:12 +02:00
Basile Burg f81af3aa03 debugging, added enum to identify bp modifications 2015-10-16 17:23:31 +02:00
Basile Burg 9528b70fda editor, store brealpoints in cache file 2015-10-16 16:02:46 +02:00
Basile Burg 20c5164e4a editor options, renamed option hintDelay to ddocDelay 2015-10-16 15:48:02 +02:00
Basile Burg f1b56c7480 completion, dont show a btn in task bar 2015-10-16 15:36:17 +02:00
Basile Burg d61cef1997 memo, sources regions 2015-10-15 05:48:54 +02:00
Basile Burg 1b7d0b93e7 memo, public method to show hide ddoc and call tips 2015-10-15 05:34:37 +02:00
Basile Burg 1bf0b42314 fix, possible rng error if completion proposal count reached max value, + disable completion full length hint (until the font is properly scaled) 2015-10-15 05:15:40 +02:00
Basile Burg bc7169d1d8 #42, added event allowing to add a brkp during debugging 2015-10-02 05:37:01 +02:00
Basile Burg bfd1a9c6a8 editor, add/rem breakpoints in the gutter 2015-10-01 14:43:59 +02:00
Basile Burg eeab445c67 renamed ambiguous identifier 2015-09-19 09:13:17 +02:00
Basile Burg c95c8ff54b optim, avoid a lot of heap alloc when assigning btn's glyphs 2015-09-17 18:22:13 +02:00
Basile Burg 5743f87761 removed LCL deps in ce_common & ce_nativeproject, prerequisite for #30 2015-09-04 12:11:18 +02:00
Basile Burg 031fa42f31 fix, ditto were not always well removed from ddoc 2015-08-25 17:57:50 +02:00
Basile Burg 0bbbebd061 refact, dExtList replaces with several function that test the exts
* hasDlangSyntax
* isDlangCompilable
* isEditable
2015-08-24 07:15:31 +02:00
Basile Burg 6842050c6f temp workaround for #20 2015-07-27 02:54:39 +02:00
Basile Burg 5e06daf09e fix, dd files highlighter, used D HL but this not d code.
+ avoid content to be lexed to retrieve module name
2015-06-20 02:53:38 +02:00
Basile Burg 38a57fec33 fix, highlighter sharing, reset range when a doc get focused
some ranges were randomly broken
2015-06-18 09:50:08 +02:00
Basile Burg 45317a2565 range issue doc switch 2015-06-17 23:58:01 +02:00
Basile Burg a1672f7187 fix, editor modified file, invalid content could be paste
if new version of the file was an empty file
2015-06-03 14:40:47 +02:00
Basile Burg 915f168a0c editor option, completion menu case sensitive 2015-05-24 17:31:45 +02:00
Basile Burg 42b48ba231 auto dot completion, menu position 2015-05-22 15:42:31 +02:00
Basile Burg 4cc3df3e6f added automatic dot completion menu + moved ctrl+space completion in memo 2015-05-22 09:22:30 +02:00
Basile Burg e83b5f6a55 fixed in lazarus 1.4.2 2015-05-22 06:24:10 +02:00
Basile Burg 006d375ec3 options, added hintDelay (ddoc) to editor category 2015-05-21 20:41:16 +02:00
Basile Burg 476ee10dc2 editor shortcuts, fix and change
- fix, default TSynEdit settings have conflicts in primary secondary shortcuts, removed secondary sh.
- change: windows style shortcuts (Ctrl+C,V,X,Z...) instead of Ctrl +Ins...
2015-05-14 05:30:25 +02:00
Basile Burg f0cee13fc7 added prop to get if file is temp 2015-05-10 03:22:37 +02:00
Basile Burg 832643fdc6 editor, ESC key to close the call tips window 2015-05-09 23:50:40 +02:00
Basile Burg d0f2b1c266 source position buffer controlled by virtual key browser back/next,. 2015-05-07 10:33:16 +02:00
Basile Burg 4b2cbfc803 editor cache, only keep the caches saved in the last 3 months. 2015-05-03 20:03:06 +02:00