Commit Graph

125 Commits

Author SHA1 Message Date
Martin
9f3623bb45 SourceEditor: fixed updating top-line-hint (invalidate/repaint) 2022-04-05 10:57:15 +02:00
Martin
5b23421c5d SynEdit: fixed incorrect line-invalidation / repaint when scrolling (with folded text) 2022-04-05 10:57:15 +02:00
Martin
a930449457 IDE, Debugger: Improve "blue dots"-line-mapping, if a line is missing. Issue #39584 2022-02-09 15:39:26 +01:00
Martin
0f830698c0 IDE, SourceEditor: TopLineInfoHint, reduce amount of memory re-allocs 2021-09-28 00:14:03 +02:00
Martin
e177cf97c2 IDE, SourceEditor: TopLineInfoHint, clear any lines while waiting for the highlighter. This ensures that there are no references to no-longer-existing lines (if lines got deleted). "PaintLines" could otherwise try to access those out-of-range lines.
Also clear data, if Highlighter is changed.
2021-09-28 00:13:25 +02:00
martin
176f0b3310 SynEdit: Handle new Gtk2 IM / Experimental / Issue #38730 / Based on Patch by Do-wan Kim / Moved to new unit
git-svn-id: trunk@65175 -
2021-06-05 22:33:53 +00:00
juha
f76b3198f9 IDE: Reduce calls to UpperCase() and LowerCase(). Improves performance.
git-svn-id: trunk@64504 -
2021-02-08 19:09:20 +00:00
martin
13e47b6cbd IDE, Debugger: SourceEditor, fix range-check error, when translating debug-line to current-line
git-svn-id: trunk@63806 -
2020-08-22 20:27:06 +00:00
martin
5bb7d9bdd1 IDE: fixed top-line-proc-name hint. The wrong line was shown if lines above were folded.
git-svn-id: trunk@63403 -
2020-06-20 15:22:04 +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
237ac26a28 SynEdit: replaced AddFoldChangedHandler with senrLineMappingChanged
git-svn-id: trunk@63208 -
2020-05-22 14:54:20 +00:00
martin
f42fd8868d SynEdit: Refactor Gutter to use DisplayView for real to virtual line mapping
git-svn-id: trunk@63202 -
2020-05-21 18:04:12 +00:00
martin
34099573b4 SynEdit: Change to use FTheLinesView instead of FFoldedView
git-svn-id: trunk@63200 -
2020-05-21 18:04:08 +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
cbb6115663 SynEdit: FoldView, rename/refactor TextToViewIndex/ViewToTextIndex to be 0-based
git-svn-id: trunk@63175 -
2020-05-16 22:17:06 +00:00
martin
0f8b9dd9a8 SynEdit: refactor TLazSynSurface
git-svn-id: trunk@63174 -
2020-05-16 22:17:03 +00:00
martin
993861b8d4 IDE: fix SynSourceEditor.SetHighlighter, prevent processing events while old HL is still in use.
git-svn-id: trunk@61697 -
2019-08-15 17:22:08 +00:00
martin
17dd3e68b9 SynEdit: Caret Color
git-svn-id: trunk@58647 -
2018-07-28 18:01:10 +00:00
martin
7dd6673f2d SynEdit: fix resizing of gutter marks
git-svn-id: trunk@58505 -
2018-07-13 16:03:56 +00:00
martin
6680265b3f SynEdit, Gutter: more PPI PreferedWidth fixes. Issue #33949
git-svn-id: trunk@58491 -
2018-07-11 17:20:38 +00:00
martin
f134176523 SourceEditor: Smarter size for marks (ppi /zoom) / ignore extra line height
git-svn-id: trunk@58489 -
2018-07-11 09:48:52 +00:00
martin
3a7326afbf SourceEditor: Smarter size for marks (ppi /zoom)
git-svn-id: trunk@58487 -
2018-07-10 23:57:14 +00:00
martin
d7e691c998 IDE SynEdit: changed width for marks gutter: 1 pixel right margin // ensure correct rounding when doubling ScaleFontTo96
git-svn-id: trunk@58484 -
2018-07-10 21:20:52 +00:00
ondrej
452ea18e69 IDE: sourceeditor: fix smallest value
git-svn-id: trunk@58336 -
2018-06-19 16:52:12 +00:00
ondrej
c9d2b36693 IDE: sourceeditor: fix smallest value
git-svn-id: trunk@58335 -
2018-06-19 16:50:04 +00:00
ondrej
4c6e2b53b3 IDE: sourceeditor: better approach to handle font size change to resize gutter glyphs
git-svn-id: trunk@58333 -
2018-06-19 13:24:48 +00:00
ondrej
5ce635e1b2 IDE: sourceeditor: change gutter glyph size (and left gutter width) according to editor line height
git-svn-id: trunk@58332 -
2018-06-19 13:10:46 +00:00
ondrej
bf30f6c5f4 IDE: fix editor debug marks painting in high-dpi
git-svn-id: trunk@58328 -
2018-06-19 11:12:56 +00:00
ondrej
796629c37a IDE: identifier completion window: fix default colors
git-svn-id: trunk@57553 -
2018-03-22 16:23:42 +00:00
ondrej
86baae8769 IDE: Identifier completion window: implement customizable colors, issue #29282
git-svn-id: trunk@57117 -
2018-01-19 07:09:42 +00:00
michl
6a4cf08b92 IDE: SourceEditor: IDESynGutterMarks High-DPI aware.
git-svn-id: trunk@55775 -
2017-09-02 19:28:39 +00:00
martin
11a202ca0f SynEdit: assert correct method types
git-svn-id: trunk@55604 -
2017-07-30 16:37:07 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
martin
721911b820 IDE, SynEdit: Enable markup fold color in options
git-svn-id: trunk@54021 -
2017-01-28 03:22:12 +00:00
martin
dc09b12bc0 SynEdit: refactor, move TLazSynEditNestedFoldsList into unit SynEditHighlighterFoldBase
git-svn-id: trunk@52226 -
2016-04-21 02:31:53 +00:00
mattias
41b629f3d0 IDE: clean up
git-svn-id: trunk@52213 -
2016-04-18 17:09:28 +00:00
martin
6b88bdaf8e IDE, SynEdit: forgotten file
git-svn-id: trunk@52185 -
2016-04-13 13:14:04 +00:00
martin
958c6dc9b7 SynEdit: more refactor of folding. Move more CollectNodeInfo to base class. Code by x2nie
git-svn-id: trunk@52176 -
2016-04-12 17:30:53 +00:00
martin
41581607a5 IDE,SynEdit: added define SynWithOutlineMarkup to enable new outline markup
git-svn-id: trunk@52167 -
2016-04-11 12:00:43 +00:00
martin
7b63a5d48d IDE/SynEdit: reduce cpu for topline hint (cached outer fold nodes)
git-svn-id: trunk@52161 -
2016-04-10 23:34:44 +00:00
ondrej
5ec7988f47 IDE: IDECommand update events refactored: delete timer, use checks for command updates, add TIDESpecialCommand.OnRequestCaptionHint
git-svn-id: trunk@50152 -
2015-10-23 17:04:26 +00:00
martin
9ce1afac9e SourceSynEdit: Fixed wrong variable in reseting overviewgutter
git-svn-id: trunk@48727 -
2015-04-11 17:50:30 +00:00
juha
708afdf966 Fix uninitialized variables and other problems found by the compiler.
git-svn-id: trunk@48451 -
2015-03-22 10:17:35 +00:00
martin
5e498c6211 SYnEdit: multi caret, IDE integration, and refactor
git-svn-id: trunk@48395 -
2015-03-16 16:42:16 +00:00
martin
f821ac291e SynEdit/IDE: More multi caret
git-svn-id: trunk@48175 -
2015-03-09 00:25:14 +00:00
martin
b87c34ebfb SynEdit/IDE: Basic Multi-Caret mode
git-svn-id: trunk@48123 -
2015-03-03 23:51:11 +00:00
mattias
85ca70fa50 IDE: clean up
git-svn-id: trunk@47666 -
2015-02-09 21:21:31 +00:00
martin
b6efaa244f SynEdit: Multi caret beta
git-svn-id: trunk@47596 -
2015-02-06 02:07:31 +00:00
mattias
d95954ac0b IDE: clean up old external tools
git-svn-id: trunk@45943 -
2014-07-20 19:50:17 +00:00