Commit Graph

258 Commits

Author SHA1 Message Date
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
Basile Burg 199c9f51f3 note about bug related to France summer time/winter time 2015-05-03 20:02:15 +02:00
Basile Burg ac4ce76c4b force rescan on focus 2015-04-25 04:43:24 +02:00
Basile Burg 169c42c2e9 fix, synchronized edition broken
after a while, due to a shared component.
2015-04-20 00:59:02 +02:00
Basile Burg da619d8479 spotted synedit bug, cursor/zoom/scroll 2015-04-19 05:07:03 +02:00
Basile Burg bd461cf54d call tips displayed at the bottom
avoids to hide FunctionDeclaration parameters.
2015-04-19 04:30:12 +02:00
Basile Burg 452aa078d8 calltip method isolated 2015-04-19 04:20:21 +02:00
Basile Burg d758ed0e76 fix, ddoc hint window stuck on top
could happen when switching sheets.
2015-04-18 18:32:41 +02:00
Basile Burg f8f5825989 style 2015-03-22 01:22:48 +01:00
Basile Burg c955a02715 fix, calltip win, VK(53) open would only work on French keyboard
+  hide call tip win on closed round bracket
2015-03-20 15:58:06 +01:00
Basile Burg a85aeb8172 runnable modules can always import from their parent folder 2015-03-18 21:52:27 +01:00
Basile Burg 0c34c8999e fix, DCD and TCESynmemo positions issues, (hints, goto decl) 2015-03-17 04:53:40 +01:00
Basile Burg 2c325dceef bdm 2015-03-17 04:01:53 +01:00
Basile Burg d6d6fab659 Revert "fix, dcd ddoc mouse hint, decl finder, location is not based on the speific document line ending kind but on the system one"
This reverts commit 6aed308035.
2015-03-17 03:34:42 +01:00
Basile Burg 6aed308035 fix, dcd ddoc mouse hint, decl finder, location is not based on the speific document line ending kind but on the system one 2015-03-17 02:16:44 +01:00
Basile Burg ac82a0aba8 DCD hints loc and decl finder always use system LE ? 2015-03-17 02:05:54 +01:00
Basile Burg a346e6c4ee renamed getMouseStart to getMouseFileBytePos 2015-03-17 01:35:26 +01:00
Basile Burg 0cafc5b37a fix, call tip win position when fun has overloads 2015-03-15 01:28:09 +01:00
Basile Burg 92925489ca fix, editor scroll interruptions due to hints 2015-03-15 01:11:27 +01:00
Basile Burg c849f563d6 improved hint and call tip windows 2015-03-13 22:20:30 +01:00
Basile Burg df7e91d1b5 navigation buffer not available under linux 2015-03-12 23:43:42 +01:00
Basile Burg 937f2b0db8 fix, mouse pos to enable hint window 2015-03-12 10:38:44 +01:00
Basile Burg ef3b055bcf nothing 2015-03-11 19:28:11 +01:00
Basile Burg 8bd2898b75 external mod. tracking, undo is possible after reloading 2015-03-11 01:06:31 +01:00
Basile Burg 413e4496b2 re JCF 2015-03-10 15:02:53 +01:00
Basile Burg f29e57b751 Revert "Revert "processed with JCF""
This reverts commit 81e406bc56.
2015-03-10 15:00:19 +01:00
Basile Burg 81e406bc56 Revert "processed with JCF"
This reverts commit db5e2cbf2d.
2015-03-10 14:57:51 +01:00
Basile Burg 4660545447 Revert "removed someehing just started"
This reverts commit 68cd2759bf.
2015-03-10 14:57:44 +01:00
Basile Burg 68cd2759bf removed someehing just started 2015-03-10 14:54:19 +01:00
Basile Burg db5e2cbf2d processed with JCF 2015-03-10 14:52:42 +01:00
Basile Burg d70409bcb9 fix for the linux version, hint textcolor 2015-03-08 22:01:04 +01:00
Basile Burg 61122dffed clean up 2015-03-08 00:39:37 +01:00
Basile Burg ee091c7578 DCD handling moved from TCEMainForm to TCESynMemo
+ call tip after open parenthesis
+ ddoc on idle
+ fix incorrrect hint window size on first hint
2015-03-07 01:51:57 +01:00
Basile Burg a954f31417 removed useless code
this didn't fix the bug "first hint window size is wrong"
2015-03-06 22:23:35 +01:00
Basile Burg bfee995bd9 fix, in 1.4 it breaks DDOc hints 2015-02-24 04:50:06 +01:00
Basile Burg e1034fa8a4 review, source comment, minor fixes, todo update 2015-02-22 16:21:44 +01:00
Basile Burg 06deabd011 editor cache not saved if document is temp 2015-02-22 13:00:31 +01:00
Basile Burg d386e723ae fix, fold kinds were overwritten for each new editor 2015-02-22 09:40:35 +01:00
Basile Burg b562324894 renamed field 2015-02-19 06:07:38 +01:00
Basile Burg 50d0d4c0c5 dev option editor - 2 2015-02-19 03:20:53 +01:00
Basile Burg 1b56c75ca1 removed autogen. comments 2015-02-15 05:26:39 +01:00
Basile Burg 9df88278a0 Applied changes from ce_interfaces & ce_observer 2015-02-14 02:21:43 +01:00
Basile Burg 9f72412e85 added custom hint window class 2015-02-07 06:37:39 +01:00
Basile Burg d93843e079 activated custom folded regions by default 2015-02-06 21:19:07 +01:00
Basile Burg 94e88424af fix, open file from cmd line param crash
GUI not yet visible, error in inherited setFocus
2015-01-28 00:33:21 +01:00
Basile Burg 96c8c3ea7b refactored TCEWritableComponent
inherits from new TCECustomWritableComponent
renamed as TCEWritableLfmTextComponent
added TCEWritableJsonComponent which derives from the same ancestor
2015-01-23 18:04:01 +01:00
Basile Burg 8fa2a71147 fix, possible focus loss on doc switch 2015-01-19 06:26:48 +01:00
Basile Burg 99973d73b9 fix, regression after 2d6eb412b4, only alnum keys were working.
see comment in TCESynMemo ctor.
2015-01-19 04:22:31 +01:00
Basile Burg 702f9217d9 removed overriden setfocus 2015-01-19 03:55:31 +01:00
Basile Burg bea6177ff6 removed bug comment 2015-01-18 12:35:36 +01:00
Basile Burg cc5150f1a2 fix, bug is described in c1a0ed2799 2015-01-18 11:59:23 +01:00
Basile Burg b214e1bbbd reverted temp workaround 2015-01-17 05:51:43 +01:00
Basile Burg 44698ed724 removed useless method 2015-01-17 03:53:11 +01:00
Basile Burg ea6e935e0e temp workaround the bug described in the interface section 2015-01-17 03:52:41 +01:00
Basile Burg c1a0ed2799 found bug, status bar displays wrong doc name under certain circumstances 2015-01-16 00:07:26 +01:00
Basile Burg f69949b882 partially reverted changes made in 4caebcfa57, filename can be set on tempfilename 2015-01-04 05:18:21 +01:00
Basile Burg 1ecb859698 prepared code to get symb documentation at mouse position 2015-01-04 04:56:32 +01:00
Basile Burg 4caebcfa57 fix, static explorer broken for runnable module after first execution 2015-01-02 05:55:25 +01:00
Basile Burg 3492e489f9 fix docFocused event not emitted after document load 2014-12-29 04:26:06 +01:00
Basile Burg 0881fe9cec renamed ce_common member getDocPath 2014-12-29 04:24:51 +01:00
Basile Burg 5db4627eff added font.size to editor cache 2014-12-29 01:54:19 +01:00
Basile Burg d70200244b hide range error in debug mode 2014-12-14 14:16:54 +01:00
Basile Burg b93810099f added folding to cache system 2014-12-13 04:44:11 +01:00
Basile Burg 32c1defa71 added editor cache system 2014-12-11 14:04:58 +01:00
Basile Burg 93be81f643 wrapped DCD things in a class: allow to save settings and the instance to know docs and projs.
+ fixes the small lag previously happening during first DCD query
2014-12-11 09:06:16 +01:00
Basile Burg 1592af26bb added TCEStaticEditorMacro 2014-12-09 03:48:59 +01:00
Basile Burg 9a13de3c05 editor position buffer on key up 2014-12-07 10:51:20 +01:00
Basile Burg eb7f061480 added support for MouseLinks: <Ctrl>+Move, <Ctrl>+<mbLeft>, invoke dcd find symbol loc 2014-12-06 00:38:34 +01:00
Basile Burg bffa23a27f style fix 2014-11-26 16:54:25 +01:00
Basile Burg 525c3ea1e1 removed irrelevant warning under linux 2014-11-26 04:31:04 +01:00
Basile Burg 37f281c1df added editor position-buffer, controlled with mbX1-mbX2 2014-11-26 01:57:19 +01:00
Basile Burg fc03000314 changed font default size. 2014-11-19 10:18:32 +01:00
Basile Burg 14f6a7ceac fix for the linux version, shortcut <CTRL>+<+> and <CTRL>+<-> were not working because of the default size (0). 2014-11-18 22:35:51 +01:00
Basile Burg cddf6168db cleanup 2014-11-18 13:48:41 +01:00
Basile Burg 7dc4fbcc8b fix, editor does not remove trailing whites anymore: was incompatible with multi-line string literals. 2014-11-17 10:12:37 +01:00
Basile Burg f2c702757e reactivated the trigger deactivated as a temp fix in 015c16b 2014-11-15 00:44:53 +01:00
Basile Burg 1713c1c9c2 fix LFM highlightning lost when saving the project sources within CE. 2014-11-12 13:16:02 +01:00
Basile Burg 46aba7c0e4 added a simple text highlighter to edit txt, imported files, markdown sources, etc. 2014-11-12 11:24:07 +01:00
Basile Burg a10f438351 cleanup 2014-11-11 15:19:55 +01:00
Basile Burg d89a57a933 added <Ctrl> + <middle mouse button> shortcut to restore editor zoom 2014-11-11 14:55:53 +01:00
Basile Burg 118b747ef7 generalized usage of dExtList 2014-11-10 11:08:00 +01:00
Basile Burg aa35683cf9 dcd integration: process can be located elsewhere if their path is known 2014-11-07 07:30:09 +01:00
Basile Burg cfc89ff0d4 added zooming shortcuts Ctrl+<+> Ctrl+<-> Ctrl+<.> to TCESynMemo 2014-11-07 06:51:00 +01:00
Basile Burg 015c16b50f fix display hang when restoring the app window 2014-09-18 23:08:22 +02:00
Basile Burg 6550dec0c4 r27 2014-08-22 08:20:48 +02:00
Basile Burg 4fc2e25293 fix lfmSyn colors lost during refactoring 2014-08-19 09:17:30 +02:00
Basile Burg d8e44821cb updated dmdwrap for dmd 2.066 2014-08-19 01:19:03 +02:00
Basile Burg 3ae7eae9b3 or_4 2014-08-18 23:56:03 +02:00
Basile Burg 5987571333 or_3 2014-08-18 21:52:49 +02:00
Basile Burg c4ec74e3e1 or_2 2014-08-18 20:38:39 +02:00
Basile Burg 4a43e6200d or_1 2014-08-18 09:44:39 +02:00
Basile Burg bb882ab70b readjusted default editor settings 2014-08-17 23:42:33 +02:00
Basile Burg a128200b18 fix cursor set to crDragSomething after date check. added ctrl+wheel zoom in opts. 2014-08-17 07:26:10 +02:00
Basile Burg 1daa39bdef disabled editor date check for temp d sources 2014-08-16 07:24:56 +02:00
Basile Burg 5464b395b9 adjusted default editor settings 2014-08-11 03:40:33 +02:00
Basile Burg 94ae22a38b each editor has an unique temp filename for its whole lifetime 2014-08-11 03:28:48 +02:00
Basile Burg 1d6322cb9e activated all folding kinds by default 2014-08-10 05:28:02 +02:00
Basile Burg 54d7f8902d support for DCD 2014-08-04 03:32:55 +02:00
Basile Burg 7ef9784253 r23 2014-07-23 10:12:49 +02:00
Basile Burg be7ba8d1a2 alpha_4 2014-07-20 12:38:38 +02:00
Basile Burg 99325b3db4 added mini-explorer widget 2014-07-19 04:55:30 +02:00