Commit Graph

113 Commits

Author SHA1 Message Date
Martin
031eb66656 SynEdit: Highlighter, make sure to call SendHighlightChanged (even if lines where deleted, instead of scanned / HL still changed back to valid/"no scan needed") 2021-09-28 00:07:54 +02:00
juha
b53ad7ceed Components: Reduce calls to UpperCase() and LowerCase(). Improves performance.
git-svn-id: trunk@64506 -
2021-02-08 19:09:30 +00:00
juha
6a07271f31 Pas2js, SynEdit, TAChart, IPro: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64463 -
2021-02-05 11:28:05 +00:00
juha
1e43ac6865 IDE: Study EditorOptions assignments with debug code. Turn methods into global funcs. Refactoring.
git-svn-id: trunk@64328 -
2021-01-04 15:56:28 +00:00
martin
06ee066470 SynEdit: Fixed the stored property for TSynHighlighterAttributes.<....>Priority
git-svn-id: trunk@64245 -
2020-12-20 09:03:39 +00:00
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +00:00
martin
c63e4ba86a SynEdit,IDE: Move Highlight-Style-Priority setting to base attribute. Now Highlighter colors have a priority, so some colors (e.g. String, Comment) can hide some Markup colors.
git-svn-id: trunk@63540 -
2020-07-10 19:38:45 +00:00
martin
c825d4842d SynEdit, EditorOpts: fix color for outline
git-svn-id: trunk@58744 -
2018-08-20 12:45:46 +00:00
martin
ef438f7a45 IDE, SynEdit: MarkupFoldColor, more options to set colors
git-svn-id: trunk@58581 -
2018-07-20 01:12:11 +00:00
juha
f440f660a2 Refactor: move CompareMethods to LazMethodList. Keep alias in LCLProc.
git-svn-id: trunk@58204 -
2018-06-09 14:39:36 +00:00
martin
b49e87db2a SynEdit: (temporarily) made TSynCustomHighlighter.IdleScanRanges virtual. Issue #33185
git-svn-id: trunk@57348 -
2018-02-22 09:33:31 +00:00
juha
b2e65128ee Remove redundant "Assigned(X)" when checking "if X is Txxx". Issue #33030, patch from Vojtech Cihak.
git-svn-id: trunk@57099 -
2018-01-15 10:53:48 +00:00
ondrej
654493d96e synedit: fix TSynCustomHighlighter.GetIdentChars. Patch from BBasile
git-svn-id: trunk@51001 -
2015-12-23 07:42:31 +00:00
juha
06ac76f560 LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
martin
901196535a SynEdit: fixed crash / undefined behaviour due to invalid caching of highlighter node-info. Issue #0027748
git-svn-id: trunk@48532 -
2015-03-29 21:44:39 +00:00
martin
2a3a4dce23 SynEdit: fixed typo / streaming. Issue #0027513
git-svn-id: trunk@47936 -
2015-02-21 12:06:09 +00:00
martin
2006ddcda1 SynEdit: prevent dangling pointer
git-svn-id: trunk@47146 -
2014-12-09 00:50:31 +00:00
mattias
feb46c584b synedit: less hints
git-svn-id: trunk@43914 -
2014-02-06 09:33:13 +00:00
martin
9533df3f3e SynEdit: additions to GetDefaultAttribute. Experimental.
git-svn-id: trunk@43540 -
2013-12-14 13:40:04 +00:00
martin
cb80606ad0 SynEdit: Return past-end-of line attribute in multi line comments // support for p-eol attibute
git-svn-id: trunk@43419 -
2013-11-11 01:17:41 +00:00
mattias
08201e2904 synedit: highlighters: using non fixed resourcestrings
git-svn-id: trunk@41721 -
2013-06-14 21:41:35 +00:00
mattias
8014b98269 IDE+synedit: TSynHighlighterAttributes: added Caption:PString for non fixed resourcestring, fixed IDE to use Caption and StoredName correct
git-svn-id: trunk@41720 -
2013-06-14 21:28:58 +00:00
juha
f188af0856 SynEdit: optimize assignment of a private array.
git-svn-id: trunk@41455 -
2013-05-30 08:24:21 +00:00
martin
c9973c0343 SynEdit: cleanup issue #0024174 Patch by Zaher Dirkey
git-svn-id: trunk@41303 -
2013-05-19 18:03:28 +00:00
martin
e388dee414 SynEdit: Alphablend (low-lighting) for markup
git-svn-id: trunk@41186 -
2013-05-14 12:38:54 +00:00
martin
655de9221e SynEdit: TextAttributes refactor/cleanup: move some properties to highlighter / move "feature" property to IDE
git-svn-id: trunk@41180 -
2013-05-13 18:36:20 +00:00
martin
6f662757d3 SynEdit: TextAttributes refactor class structure
git-svn-id: trunk@41178 -
2013-05-13 16:46:57 +00:00
martin
12d8184160 SynEdit: TextAttributes refactor class structure
git-svn-id: trunk@41167 -
2013-05-13 13:26:57 +00:00
martin
805036a7ba SynEdit: Added hcCodeFolding to highlighter capabilities
git-svn-id: trunk@40529 -
2013-03-10 21:07:08 +00:00
martin
1591be495b SynEdit: Cleanup (TBetterRegistry removed) Issue #0022509 Patch by Zaher Dirkey
git-svn-id: trunk@38848 -
2012-09-26 11:37:44 +00:00
martin
d7308609fb SynEdit highlighter: do not send -1 for invalidate
git-svn-id: trunk@38222 -
2012-08-10 00:02:13 +00:00
martin
be12225390 SynEdit Highlighter: Fixed crash when scanning empty
git-svn-id: trunk@38151 -
2012-08-04 13:44:32 +00:00
martin
242370b71e SynEdit TSynMultiSyn: Fixed crash when deleting lines. Part of issue #0022519
git-svn-id: trunk@38150 -
2012-08-04 12:00:32 +00:00
martin
c4cd308a5e SynEdit: clean up IFDEF. Patch by Zaher Dirkey. Issue #0022180
git-svn-id: trunk@37490 -
2012-06-02 21:19:37 +00:00
juha
347ea32e4c SynEdit: remove the use of SYN_CPPB_1. It is not needed and was not used consistently.
git-svn-id: trunk@34411 -
2011-12-25 19:00:46 +00:00
martin
385f41f533 SynEdit: refactor (draw fold marker) / introduce markup color priorities
git-svn-id: trunk@34225 -
2011-12-16 16:44:04 +00:00
martin
b8d236f54a SynEdit: refactor
git-svn-id: trunk@34205 -
2011-12-15 13:07:20 +00:00
martin
eb7483f416 SynEdit: refactor p
git-svn-id: trunk@34203 -
2011-12-15 12:39:28 +00:00
martin
80a5180691 SynEdit: removed deprecated methods
git-svn-id: trunk@30121 -
2011-04-01 22:17:51 +00:00
martin
9ecc3e5d91 SynEdit, Highlighter: fix an issue with pchar (read only) to no longer allocated string
git-svn-id: trunk@30096 -
2011-03-31 10:03:53 +00:00
martin
769c0bbc2d SynEdit: Updates to zic-zac lines
git-svn-id: trunk@27690 -
2010-10-13 22:36:04 +00:00
martin
3461e3c693 SynEdit: added more for new zic-zac markup / refactor some of PaintLines
git-svn-id: trunk@27670 -
2010-10-12 22:57:42 +00:00
paul
797b544a5e synedit: add FrameStyle to the markup color and highlighter attribute
git-svn-id: trunk@27660 -
2010-10-12 03:20:52 +00:00
martin
1b6d6917f7 Syn-Multi-Highlighter, fix several crashes. see notes from issue #17419
git-svn-id: trunk@27545 -
2010-10-02 16:30:18 +00:00
martin
bb4d53ff94 SynEdit: Started rework of Gutter, started adding new overview gutter
git-svn-id: trunk@27027 -
2010-08-08 00:35:06 +00:00
martin
86a9620e2c Synedit/IDE: Added hiding of comment/region
git-svn-id: trunk@26814 -
2010-07-24 16:59:04 +00:00
martin
569641d81d SynEdit: Refactor, Change ItemSize to a variable
git-svn-id: trunk@25786 -
2010-05-30 22:16:26 +00:00
martin
8457924769 SynEdit: defer Highlight Scan => increased amount per idle
git-svn-id: trunk@25777 -
2010-05-30 17:36:40 +00:00
martin
4c5e426ccf SynEdit: defer Highlight Scan
git-svn-id: trunk@25764 -
2010-05-30 11:56:59 +00:00
martin
084a15c640 IDE, EditorOptions: Moved to ColorSchemFactory / Added Export for ColorScheme / Added UserSchemes
git-svn-id: trunk@25626 -
2010-05-25 00:43:06 +00:00