Commit Graph

138 Commits

Author SHA1 Message Date
martin
4649c9029a SynEdit: remove FoldInfo.FNode
git-svn-id: trunk@63660 -
2020-07-28 16:14:32 +00:00
martin
921faf61dd SynEdit: removed incorrect comment (about 1 based)
git-svn-id: trunk@63580 -
2020-07-17 01:02:21 +00:00
ondrej
18d396dfc3 SynEdit: fix wrong type cast (e.g. TSynMemo does not inherit from TSynEdit)
git-svn-id: trunk@63487 -
2020-07-02 08:24:57 +00:00
martin
9afc716aa9 SynEdit: Add check for nil / Improve comments
git-svn-id: trunk@63450 -
2020-06-27 19:24:01 +00:00
pascal
92603c9cce SynEdit: fixed cast
git-svn-id: trunk@63439 -
2020-06-26 17:41:48 +00:00
martin
d0584cb910 SynEdit: remove more FFoldedLinesView references. Move access to selection.
git-svn-id: trunk@63434 -
2020-06-23 19:43:14 +00:00
martin
057165384d SynEdit: move key handling to folded view. (except: ecFold... constants)
git-svn-id: trunk@63433 -
2020-06-23 19:43:13 +00:00
martin
8af680d14f SynEdit: remove more FFoldedLinesView references.
git-svn-id: trunk@63432 -
2020-06-23 19:43:11 +00:00
martin
b0e6dc49cf SynEdit: Move FoldedAtTextIndex from folded view to TSynEditStrings.IsTextIdxVisible / Improve FindNextUnfoldedLine
git-svn-id: trunk@63414 -
2020-06-21 02:27:02 +00:00
martin
30c89b1f2f SynEdit: add FoldProvider.Enabled
git-svn-id: trunk@63295 -
2020-06-05 00:13:01 +00:00
martin
31675c9a98 SynEdit: Fixed FoldView.InternalGetInfoForViewedXY for caret move
git-svn-id: trunk@63291 -
2020-06-04 22:39:16 +00:00
martin
ee7d180202 SynEdit: added out param AStartBytePos and ALineByteLen to TLazSynDisplayView.SetHighlighterTokensLine
git-svn-id: trunk@63285 -
2020-06-03 23:28:19 +00:00
martin
80b71e85fb SynEdit: Move caret up/down by viewed line.
git-svn-id: trunk@63283 -
2020-06-03 23:28:15 +00:00
martin
a5b0880676 SynEdit: Add ViewXYRowToTextXY / TextXYToViewXY
git-svn-id: trunk@63267 -
2020-06-02 00:37:12 +00:00
martin
a6cca4acfe SynEdit: Changed TextPosAddLines (foldview) to AddVisibleOffsetToTextIndex (textview)
git-svn-id: trunk@63209 -
2020-05-22 14:54:22 +00:00
martin
237ac26a28 SynEdit: replaced AddFoldChangedHandler with senrLineMappingChanged
git-svn-id: trunk@63208 -
2020-05-22 14:54:20 +00:00
martin
88b4e037a4 SynEdit: add ViewToTextIndexEx / rename param for TextIndexToView...
git-svn-id: trunk@63201 -
2020-05-21 18:04:10 +00:00
martin
f5447ddcde SynEdit: FoldedView, remove unused code
git-svn-id: trunk@63199 -
2020-05-21 18:04:06 +00:00
martin
4c5edbe734 SynEdit: Refactor Notification from Lines. Cache in TextViewManager, and deal with TextBuffer changes (no more need to update in senrTextBufferChanged
git-svn-id: trunk@63197 -
2020-05-21 15:48:47 +00:00
martin
e04ce2539f SynEdit: Introduced TSynTextViewsManager
git-svn-id: trunk@63196 -
2020-05-21 15:48:44 +00:00
martin
3ea592d076 SynEdit: TSynEditFoldedView, add base class TSynEditStringsLinked
git-svn-id: trunk@63195 -
2020-05-21 15:48:41 +00:00
martin
8cd0ab8b18 SynEdit: FoldedView, renamed Lines/Count to ViewedLines/ViewedCount
git-svn-id: trunk@63188 -
2020-05-20 16:21:54 +00:00
martin
cbb6115663 SynEdit: FoldView, rename/refactor TextToViewIndex/ViewToTextIndex to be 0-based
git-svn-id: trunk@63175 -
2020-05-16 22:17:06 +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
juha
e27232d4cc Fix uninitialized variables based on compiler warnings got with dfa (data flow analysis) enabled.
git-svn-id: trunk@55211 -
2017-06-04 15:14:29 +00:00
mattias
e30bb6d3ae synedit: clean up
git-svn-id: trunk@53148 -
2016-10-17 13:57:23 +00:00
martin
dc09b12bc0 SynEdit: refactor, move TLazSynEditNestedFoldsList into unit SynEditHighlighterFoldBase
git-svn-id: trunk@52226 -
2016-04-21 02:31:53 +00:00
martin
b864871813 SynEdit: improved search for outer fold nodes / use cache
git-svn-id: trunk@52160 -
2016-04-10 23:34:39 +00:00
martin
547f7b7309 SynEdit: small optimization
git-svn-id: trunk@50757 -
2015-12-12 20:10:07 +00:00
juha
4e16799fd7 SynEdit: Initialize variables based on compiler warnings. Contains ToDo items.
git-svn-id: trunk@48478 -
2015-03-24 17:50:59 +00:00
martin
1ce927a927 SynEdit: prepare extra highlight for lines starting a fold
git-svn-id: trunk@43425 -
2013-11-11 20:28:56 +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
martin
126c85c628 SynEdit: Fixed Mem leak
git-svn-id: trunk@43416 -
2013-11-10 14:08:52 +00:00
martin
a2561585c7 SynEdit: do not crash the IDE, when failing to read config
git-svn-id: trunk@42425 -
2013-08-18 21:57:30 +00:00
mattias
08201e2904 synedit: highlighters: using non fixed resourcestrings
git-svn-id: trunk@41721 -
2013-06-14 21:41:35 +00:00
martin
40eaa7dc2a SynEdit: Reduce painting. was broken in revision 39693 #b3f15ac258
git-svn-id: trunk@41345 -
2013-05-22 01:41:44 +00:00
martin
12d8184160 SynEdit: TextAttributes refactor class structure
git-svn-id: trunk@41167 -
2013-05-13 13:26:57 +00:00
martin
5b89e0ac68 SynEdit: Starting on Ifdef Markup
git-svn-id: trunk@40978 -
2013-05-01 21:04:39 +00:00
martin
b3f15ac258 SynEdit: FoldedView, reduce calculation overhead
git-svn-id: trunk@39693 -
2012-12-30 05:34:52 +00:00
martin
b62ba5a62a SynEdit: Optimizations for folded view / check for negative len
git-svn-id: trunk@39691 -
2012-12-30 02:58:04 +00:00
mattias
07c5091ba9 synedit: clean up
git-svn-id: trunk@38100 -
2012-08-01 09:11:26 +00:00
martin
512178a9f7 SynEdit/SourceEdit(TopHint): Improve TLazSynEditNestedFoldsList / less scanning
git-svn-id: trunk@37946 -
2012-07-14 22:39:15 +00:00
mattias
a7e692711e synedit: less notes
git-svn-id: trunk@37910 -
2012-07-11 18:36:25 +00:00
martin
2eff3271c7 SynEdit: Optimized/Extended TLazSynEditNestedFoldsList / added OpeningLineEndIndex
git-svn-id: trunk@37905 -
2012-07-10 22:53:55 +00:00
martin
fe590109d0 SynEdit: clean up, use sfaOpen instead of sfaOpenFold
git-svn-id: trunk@37895 -
2012-07-07 22:20:13 +00:00
martin
4a9ad47a2e SynEdit: Fold-Highlighter, add more info to node.actions / rename sfaOpen to sfaOpenFold
git-svn-id: trunk@37893 -
2012-07-07 15:42:54 +00:00
martin
3414a1253c SynEdit, pas-HL: clean up (remove workaround foldgroup=4)
git-svn-id: trunk@37892 -
2012-07-07 12:25:47 +00:00
martin
bf59a09199 SynEdit: Improved TLazSynEditNestedFoldsList, keep filtered node-infos
git-svn-id: trunk@37886 -
2012-07-06 01:16:35 +00:00
martin
0389934f65 SynEdit: FoldView clean up
git-svn-id: trunk@37882 -
2012-07-05 15:51:18 +00:00
martin
e990255441 SynEdit: fixed TLazSynEditNestedFoldsList for IncludeOpeningOnLine=False
git-svn-id: trunk@37878 -
2012-07-05 14:50:31 +00:00