Commit Graph

3130 Commits

Author SHA1 Message Date
Martin
3b6632f5c2 LazEdit: Update Textmate grammar 2023-11-19 22:49:54 +01:00
Martin
2113ad4fef SynEdit: Shell-Highlighter, escaped strings. Issue #40584 2023-11-05 15:44:53 +01:00
Martin
d3687ef05c SynEdit, Pas-HL: use case-label-attributes in "record case". Issue #40586 2023-11-02 14:37:10 +01:00
ACTom
4fd606cdfd Fix the problem that TSynMemo reports an error when the input method is enabled on Windows. 2023-10-31 17:33:52 +00:00
Martin
13516416e2 IDE: More textmate Highlighting 2023-09-20 16:50:53 +02:00
mattias
34222c3fa8 updated makefiles 2023-09-12 16:25:55 +02:00
Martin
aab438155c Update Makefile 2023-09-12 12:16:07 +02:00
Martin
40fd2fc1fe Support for Highlighter based on TextMate grammar 2023-09-12 12:01:50 +02:00
Martin
d23a06285b SynEdit: fixed wrong (to big) text-len in TSynEditMarkupHighlightAllMulti 2023-09-10 14:21:01 +02:00
mattias
c5bc78b070 updated makefiles 2023-09-03 17:11:29 +02:00
Martin
22df40bcce SynEdit: deprecate SelStart/SelEnd. This is as a means to warn that they are *extremely* slow, and BlockBegin/BlockEnd should be used.
SelStart/SelEnd are currently NOT to be removed.
2023-09-03 12:15:27 +02:00
mattias
8d92e3b67d updated makefiles 2023-08-14 20:31:20 +02:00
mattias
69ab8497cc synedit: added missing file 2023-08-02 01:34:50 +02:00
Martin
a94c7262d6 small fixes 2023-07-25 01:52:59 +02:00
Martin
e4b471bd78 SynEdit: Test fo PasHighLighter, more tests, check features with diff fold-configs 2023-07-18 16:29:21 +02:00
Martin
c2d7b57fa8 SynEdit: PasHighLighter, fix deprecated after in "unit Foo deprecated;" Issue #40383 2023-07-18 15:52:38 +02:00
Martin
bb33afb81a SynEdit: fixed crash introduced by bee839cc18 "Ide, SynEdit: Pas-HL, add ability to parse anonymous procs"
Decisions on "fold-block-type" (or open/close) can not be based on "ScanAhead".
If one of the "ahead scanned" lines changes, the fold structure (type/depth) for the above node will be wrong.
E.g., TLazSynEditNestedFoldsList will trigger a temp-scan and get non-matching results. This means "node info" may not be found (due to incorrect fold-level), and code can crash. (observed with MarkupFoldColoring, triggers "assert" in TLazSynEditNestedFoldsList)
2023-07-15 14:08:58 +02:00
mattias
79893d2cbe updated makefiles 2023-07-14 16:42:45 +02:00
Martin
bee839cc18 Ide, SynEdit: Pas-HL, add ability to parse anonymous procs 2023-07-13 18:50:31 +02:00
Martin
f21293c5d0 SynEdit: fixed SynPopUpMenu, enable/disable select all / Added SynEdit.HasText to check if non-empty 2023-07-09 10:18:36 +02:00
Juha
e65a102527 Remove unit Laz_AVL_Tree, a copy of unit AVL_Tree. Not needed with FPC 3.2.x. 2023-07-07 17:39:03 +03:00
Juha
adfc424e92 Lazarus trunk requires at least FPC 3.2.0. Remove checks for earlier FPC_FULLVERSION. 2023-07-07 17:39:03 +03:00
Juha
41adb276bb Remove obsolete checks for FPC versions earlier then 3.0. 2023-07-07 17:39:02 +03:00
Martin
dc5cf0ed15 SynEdit: SynPopupMenu, better check for text empty. Issue #38792 2023-07-06 10:59:17 +02:00
Juha
211d95da17 LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them. 2023-07-03 11:17:01 +03:00
Juha
c3891ad820 Reduce compiler warnings. 2023-07-03 06:23:49 +03:00
Martin
c4a57d1eb6 SynEdit: Add elastic Tabstops 2023-07-02 20:45:33 +02:00
Martin
3b68e4ece7 SynEdit: Refactor tab-expander 2023-07-02 20:45:29 +02:00
Martin
10344c6439 SynEdit: Refactor tab-expander 2023-07-02 16:35:26 +02:00
mattias
ae9ab00109 updated Makefiles 2023-06-30 20:50:27 +02:00
mattias
fde0e0f965 set main version to 3.99 2023-06-25 17:47:14 +02:00
Martin
939301e105 SynEdit: Pas-HL, fix nested fold-blocks if some kind of blocks are disabled in config. ("end" keyword was attributed to wrong block) 2023-06-22 20:28:19 +02:00
Martin
bc8f26b1e8 SynEdit: fix fold-lines in the gutter. Gutter would partially draw IFDEF/REGION lines if those where not foldable. Issue #31296 2023-06-22 18:03:20 +02:00
Martin
d3aee748ac SynEdit: fold-view, don't update internal values from an outdated Highlighter. Wait until the HL is up to date. Issue #30354 2023-06-21 17:41:16 +02:00
Maxim Ganetsky
800703be6c SynEdit: regenerated translations and updated Russian translation 2023-06-21 16:40:49 +03:00
Maxim Ganetsky
dd1fd8a028 SynEdit: moved SynPopupMenu resource strings to the correct file 2023-06-21 16:39:02 +03:00
Martin
7fe49c4b77 SynEdit: Added comments about different meaning of ShiftMask for keys and mouse. Issue #29458 2023-06-21 01:59:18 +02:00
Martin
a77a04cc4c SynEdit: fix line-change indicator, when adding new lines (without breaking the current line). Issue #30152 2023-06-21 01:44:46 +02:00
Martin
81f407e030 SynEdit: add TSynPopupMenu with default items for editor. Issue #38792 Patch by Joeny Ang "biloky" 2023-06-21 01:17:28 +02:00
Martin
ee5d8465bb Fix compiling SynEdit 2023-06-18 16:47:53 +02:00
Juha
e045ba01d2 Remove units from uses sections, especially LCLProc which now contains many wrappers to other non-LCL units. 2023-06-18 14:57:06 +03:00
Martin
6a84f7039d SynEdit: Fix TSynAutoComplete. Issue #30187
- ecDeleteLastChar would not work for utf-8,
- and also not if it did "reverse tab" based on gaps of the line above (Indenter).
- It also wrongly assumed that there would always be an indent and it would be of spaces and spaces only.
2023-06-13 20:17:17 +02:00
Maxim Ganetsky
d0b5fb05f1 SynEdit: updated Russian translation 2023-06-13 19:57:32 +03:00
Martin
d0079393d1 SynEdit: Sql-HL, fixed tokens for FireBird 4.0 Issue #38998 2023-06-13 16:00:07 +02:00
Martin
1059846d0d SynEdit: Pas-HL, more optional highlight PasDoc tokens in comments. Issue #19711 2023-06-13 15:50:34 +02:00
Martin
ea5c133400 SynEdit: Pas-HL, optional highlight PasDoc tokens in comments. Issue #19711 2023-06-13 15:14:41 +02:00
mattias
3a13fbf259 updated makefiles 2023-06-11 23:20:56 +02:00
Juha
1475336c8c Remove LCLProc.OffsetRect(). Move some functions from LCLProc to GraphMath (LazUtils). 2023-06-05 15:48:01 +03:00
Martin
a87136316e SynEdit: fixes for TSynMultiSyn Highlighter. Includes fix for Issue #40292 2023-06-03 21:34:32 +02:00
Martin
3ea6f9923c SynEdit: fixes for exact scroll range depending on "caret past eol" options. Ensure setting new options takes immediate effect 2023-06-02 16:36:16 +02:00