Commit Graph

136 Commits

Author SHA1 Message Date
Martin
e474818093 IDE, SourceEdit: keep topline when folding comment and similar via context menu. Issue #41227
(cherry picked from commit beb2505039)
2025-01-25 18:44:48 +01:00
Martin
0d63ab6747 IDE, SourceEditor: Make the top-line-hint clickable, and scroll to the hint-line. Issue #40983 2024-09-28 17:17:31 +02:00
n7800
1ef23cb314 SynEdit: Fix a typo in the method name TSynEditStringsLinked.RemoveHanlders 2024-09-23 10:11:37 +00:00
Martin
1b27926055 IDE: Guttermarks, improve layout 2024-04-22 02:23:22 +02:00
Martin
00628a8d26 SynEdit: "Marks-gutter, use all columns before ..." / limit repeated icons Issue #40914 2024-04-20 21:59:10 +02:00
Martin
baef7180da SynEdit: Marks-gutter, overlap/resize marks if not enough space. Issue #40914 2024-04-20 16:38:37 +02:00
Martin
7400dc43b0 IDE, SynEdit: fix configuring column count for gutter-marks 2024-03-13 22:48:01 +01:00
Martin
4f1297912a Ide, Codetools: IdentifierCompletion, add color for recent Items. Issue #40392 Based(Amended) on Patch by Bruno K 2023-07-21 22:47:39 +02:00
Martin
43697a5086 IDE: SourceSynEdit: prevent event from being called in destroy 2023-07-02 20:45:29 +02:00
Martin
27882fd9cc IDE, SourceEditor: fix scrolling to last line, when top-line hint changes. Ensure last line is fully scrolled in. Issue #37922
- The text-area LinesInWindow must be update before the TopLine is adjusted. Otherwise the editor calculates the wrong Max(TopLine) (prevent scrolling past end of text)
2023-06-21 12:53:15 +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
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