Commit Graph

3443 Commits

Author SHA1 Message Date
Martin
4fd4234f6f SynEdit: fix type for clipboard-format (TClipboardFormat) in exporter. Issue #41697 2025-06-13 13:27:34 +02:00
Martin
b23e7b9764 SynEdit: fix index error in SynCompletion (when empty) 2025-05-25 08:54:38 +02:00
Martin
2448ebf956 SynEdit: Added "delete word, but not linebreak" for Multicaret. Issue #41673 2025-05-24 18:03:27 +02:00
Martin
cef8022058 SynEdit: Markup matching brackets. No change needed on scroll. Issue #41658 2025-05-24 08:57:01 +02:00
ACTom
175a47a059 Translations: Chinese translation update by ACTom, merge request !480 2025-05-22 15:46:47 +03:00
alligator
a434cefaeb Synedit/SynHighlighterJScript: more appropriate type for a temporary variable (string -> char), no implicit type conversions 2025-05-20 15:54:12 +03:00
n7800
6d1a3b2eb0 IDE/Options: Indicate the new color name "Selected text" in Pike code sample. Related to !367 2025-05-18 11:46:16 +02:00
Martin
34541a9c02 SynEdit: fix painting gutter-part with margin. Issue #41638 2025-05-15 10:46:22 +02:00
Martin
093a68b134 SynEdit: improve EnsureCursorPosVisible, don't force a persistent selection into view 2025-05-10 20:01:41 +02:00
Martin
fe839fa1a1 SynEdit: remove debug output from syncro edit 2025-05-10 20:00:57 +02:00
Martin
c2717085e2 SynEdit: fold-view, don't use outdated cache to map lines. 2025-05-07 18:51:08 +02:00
Martin
5bbe937c5e SynEdit: implement ScrollBy / Issue #41605 2025-05-04 14:40:11 +02:00
Martin
6974d8ea3d SynEdit: Remove some "TopView := TopView". Those were originally added to adjust for new fold/unfold lines. But this is now handled via event senrLineMappingChanged 2025-04-24 20:26:48 +02:00
Martin
79d5fbb479 SynEdit: Wordwrap, check if wrap-count changed for any modified line 2025-04-24 16:27:00 +02:00
Martin
d333eac396 SynEdit: Wordwrap, reduce unnecessary invalidate/paint. 2025-04-24 16:26:59 +02:00
Martin
545720d39e SynEdit: Optimize scanner, don't create temp objects for fold-blocks 2025-04-23 17:15:38 +02:00
Martin
02dbb7f761 SynEdit: PasHighlighter, refactor, move common code into subroutine 2025-04-23 12:54:11 +02:00
Martin
a42f72da94 SynEdit: PasHighlighter, reset some states in case of incomplete parsed code 2025-04-23 10:13:38 +02:00
Martin
33a06985b9 SynEdit: fixed access to freed object (FLineMapView will be destroyed, but before it may access the plugin) 2025-04-22 18:24:45 +02:00
Martin
05a5c1f416 SynEdit: Fixed crash due to uninitialised pointer. ATokenInfo.Tk.TokenStart may be trash, but the caller needs nil if there is no data. 2025-04-21 21:23:35 +02:00
Martin
88bebcf493 IDE, SynEdit: implement flag to control if certain attributes/colors (comments, selection, ...) extend past EOL. 2025-04-14 22:21:47 +02:00
Martin
031101fb29 SynEdit: PascalHighlighter, clean up some flags in case of parsing invalid sources 2025-04-13 13:31:33 +02:00
Martin
4712f8540d SynEdit: PascalHighlighter, refactor - new KeyComp 2025-04-13 13:31:33 +02:00
Martin
439016e4f6 SynEdit: PascalHighlighter, improve detecting hint modifiers 2025-04-13 13:31:32 +02:00
Martin
e9538adea1 SynEdit: PascalHighlighter, improve detecting calling convention modifiers 2025-04-13 13:31:32 +02:00
Martin
d58545a684 SynEdit: PascalHighlighter, refactor - reduce code duplication, group tokens of the same kind 2025-04-13 13:31:31 +02:00
Martin
266a8bffbf SynEdit: PascalHighlighter, fixes for declaration type highlights 2025-04-13 13:31:28 +02:00
Martin
90027a9d87 SynEdit: fix delayed font size update. TextArea gets the event only after synedit already tried to read the new sizes for chars. 2025-04-09 22:53:16 +02:00
Martin
6c6671836f SynEdit: move TLazEditTextAttributeModifierCollection 2025-04-09 18:45:08 +02:00
Martin
b42caeb972 SynEdit: Replace TextDrawer 2025-04-09 12:18:23 +02:00
Martin
7ea532fc16 SynEdit: Replace TextDrawer.RegisterOnFontChangeHandler with SynEdit.RegisterStatusChangedHandler(... scFontOrStyleChanged) 2025-04-06 17:48:03 +02:00
Martin
fc053b01ee SynEdit: UseUtf8 is not used and always true / remove/deprecate 2025-04-06 17:48:02 +02:00
Martin
569250707b SynEdit: fix continuous frame for comment-color, if there are Pasdoc/Custom-words in comment 2025-04-06 10:04:15 +02:00
Martin
8fe4297b62 SynEdit: fixes for GetTokenIsCommentStart/GetTokenIsCommentStart and slash // comments 2025-04-06 10:04:15 +02:00
Martin
f576fc86c0 SynEdit: Clean up AssignColors 2025-04-06 10:04:14 +02:00
Martin
6690e16115 SynEdit: Refactor TSynSelectedColorMergeResult - fix inheritance structure.
- This change affects compatibility for Highlighters: Code requiring the a tokens Attribute must now decide if it should call "GetTokenAttribute" / "GetEndOfLineAttribute" or "GetTokenAttributeEx" / "GetEndOfLineAttributeEx"
2025-04-06 10:04:14 +02:00
Martin
5abe12a280 SynEdit: Token Attributes (TSynSelectedColor), move StartX and EndX to base class 2025-04-06 10:04:14 +02:00
Martin
9b0070e05e SynEdit: remove deprecated methods from TSynSelectedColor 2025-04-06 10:04:13 +02:00
Martin
1bb56e053b SynEdit: rewrite part of the Highlighter-attribute 2025-04-06 10:04:13 +02:00
Martin
c6957da9f2 SynEdit: fix test for new comment color attribs 2025-04-05 23:28:47 +02:00
Maxim Ganetsky
e16a341677 SynEdit: regenerated translations and updated Russian translation 2025-04-04 00:22:20 +03:00
Maxim Ganetsky
f2a18f819a SynEdit: improved a caption 2025-04-04 00:22:19 +03:00
Martin
4027fdb098 IDE, SynEdit: refactor some color settings for Pas-Highlighter 2025-04-03 18:32:24 +02:00
Martin
3eb2c20d38 SynEdit: rewrite FoldHighlighter range class. Use TDictionary. 2025-04-03 10:15:58 +02:00
Martin
ebd7f56170 SynEdit: Improve d8e4b249c3, initialize out variable. issue #41553 2025-04-01 13:38:27 +02:00
zeljan1
d8e4b249c3 SynEditTextBuffer: initialize out variable. issue #41553 2025-03-31 13:47:48 +02:00
Martin
e8ec6ae160 IDE, SynEdit: PascalHighlighter, CustomWords for comment, fix multi-line // comment 2025-03-26 18:48:37 +01:00
Martin
8e59857521 IDE, SynEdit: PascalHighlighter, CustomWords (Tokens, must be identifier) for comment and string. Custom color for comment by type // vs (* . Includes Issue #40881 2025-03-24 13:30:56 +01:00
Martin
ee60271592 SynEdit: PascalHighlighter, refactor CustomTokens 2025-03-24 12:27:07 +01:00
Martin
6095fe864c SynEdit: fix range check in bracket matching 2025-03-24 12:27:07 +01:00