Commit Graph

295 Commits

Author SHA1 Message Date
Basile Burg a6997859f0 lock project-related actions when compiling + add title to dialogs 2016-07-07 07:42:45 +02:00
Basile Burg 16035ef8b3 finely tweaked the settings applied on first execution 2016-07-06 04:35:49 +02:00
Basile Burg 7f1bba9094 improve detection of invalid auto close pair 2016-07-05 17:50:37 +02:00
Basile Burg 5931ce7ca9 add option to auto close a few pair of symbols, close #85 2016-07-05 08:42:54 +02:00
Basile Burg c35cc3c92c fix file protocol and anchors, close #80 (not for changelog) 2016-07-04 05:44:08 +02:00
Basile Burg 6d70c3e597 fix #83, new line insterted after reloading doc 2016-07-03 06:42:35 +02:00
Basile Burg c5e1cf513a use dastworx to detect main(), fixup #79
without the imports it was not possible to use DMD
2016-07-02 07:07:03 +02:00
Basile Burg 6fb523e8b8 fix open local phobos html
but LCL bug with anchor: http://bugs.freepascal.org/view.php?id=30326
2016-06-29 23:51:46 +02:00
Basile Burg 30de2aee7a editor, show phobos doc, local dir not accepted 2016-06-29 21:49:37 +02:00
Basile Burg e674c89a96 work on #77 2016-06-27 20:14:52 +02:00
Basile Burg a1dde3a592 add option to detect main in runnable or unittested modules, close #79 2016-06-27 13:39:28 +02:00
Basile Burg a5992c7a8e add editor commands PreviousChangedArea & NextChangedArea 2016-06-26 21:35:09 +02:00
Basile Burg d2bbe29e88 use RCDATA resources instead of old hex strings system 2016-06-19 07:13:32 +02:00
Basile Burg e58f7f9974 apply highlighter preset to the generic highlighter too 2016-06-18 12:22:11 +02:00
Basile Burg 3818075c28 find the imports from token list, related to #77 2016-06-18 06:07:26 +02:00
Basile Burg b64d891023 fix #60, Completion menu background and font color should follow UI theme 2016-06-17 19:31:28 +02:00
Basile Burg f9fede3423 fix, editor option edAautoIndent could cause mixed tab/spaces
when not using the phobos style, i.e tabs
2016-06-16 05:19:43 +02:00
Basile Burg 79b7b851ee fix #62 - lexicon-based brace auto closing is still a bit dumb
- not trigered in comments anymore
- not trigered if the pair count is 0 (e.g between two functions)

still cases exist but they would need a more complex analysis
2016-06-15 12:35:56 +02:00
Basile Burg c75de19110 fix #46, The generic highlighter is not selected when saving a non D file 2016-06-15 08:36:21 +02:00
Basile Burg 361502ff6a nextpage, repeated shortcut, not an issue 2016-06-15 07:13:41 +02:00
Basile Burg 573b14854b add shortcuts for the pagecontrol, close #61 2016-06-14 17:29:32 +02:00
Basile Burg e15c44577c add an option to deactivate IDE-grade features in with non D files, close #47 2016-06-14 14:46:01 +02:00
Basile Burg b12b6829aa moved free functions used by the custom commands to the editor class 2016-06-14 13:03:42 +02:00
Basile Burg 74e6984f68 add editor command to show phobos html help, close #52 2016-06-14 12:18:52 +02:00
Basile Burg 393f8c97b4 add option to auto detect the indentation mode (tabs|spaces), close #45 2016-06-14 10:50:15 +02:00
Basile Burg f1f2ad6b7e add editor command to comment the current identifier 2016-05-29 20:22:06 +02:00
Basile Burg 935f299362 ident renaming, display current ident value in input query 2016-05-25 03:33:28 +02:00
Basile Burg 830f81b627 fix #44, "Invert version all/none" does not work when tabs are not converted to spaces 2016-05-08 12:30:06 +02:00
Basile Burg 361e5728b8 identifier renaming, reproduce DCD behavior at word edges 2016-05-04 23:52:06 +02:00
Basile Burg 48a8ea5bb9 fix, brace auto-clsoing, a case where it was not triggered
new line after { followed by blanks
2016-04-27 22:51:18 +02:00
Basile Burg 989effb422 test local identifier renaming (DCD#324) 2016-04-26 07:38:04 +02:00
Basile Burg fd0b9ae226 editor, add shortcut for end word left/right 2016-04-23 17:45:38 +02:00
Basile Burg 5d3d8fe0f0 lexer, option to exclude comments + more reliable version all/none inverter 2016-04-16 22:10:52 +02:00
Basile Burg e3c655eca3 fix, comment block, wrong indentation when the block included a empty lines 2016-04-16 21:16:21 +02:00
Basile Burg a249081860 update libdparse 2016-04-16 20:43:45 +02:00
Basile Burg 6c3936f41f brace auto-closing, better indentation detection 2016-04-16 18:30:08 +02:00
Basile Burg 4cd0f9ed3a restore caret x when call tips are obtained using paren lookup 2016-04-16 17:47:48 +02:00
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