Commit Graph

69776 Commits

Author SHA1 Message Date
Martin
578d026520 IDE, SourceEditor: replace numeric (statusbar) panel index with named constant 2025-01-28 10:55:01 +01:00
mattias
6a79e2f3d0 pas2js: less hints 2025-01-28 10:31:04 +01:00
Maxim Ganetsky
64cfdfc0d6 IDE: regenerated translations and updated Russian translation 2025-01-27 22:20:35 +03:00
Martin
9b4c81b56b IDE, DockedFormEditor: Check for csDesignInstance, instead of csDesigning to determine if a form/frame is the top-parent in the designer. (To disable autosizing for them). Issue #41368 2025-01-27 13:09:05 +01:00
mattias
54e532cdbe lcl: fixed typo 2025-01-27 11:37:21 +01:00
mattias
fd780d0e00 codetools: fixed resolving forward pointer type in other unit 2025-01-27 11:02:07 +01:00
zeljan1
af12663634 IDE: changing control font in paint event triggers another paint event. Only canvas.Font should be changed. Patch by Bald Zhang. issue #41361 2025-01-27 07:57:50 +01:00
dsiders
3664d7bb93 Docs: LCL/controls. Updates content in TControlStyleType.csAcceptsControls topic. 2025-01-26 10:57:26 -05:00
zeljan1
fd1bd28085 Gtk3: fixed result of TGtk3WidgetSet.ShowScrollBar 2025-01-26 15:54:26 +01:00
zeljan1
522fb6cbd8 Gtk3: paired cairo_save() & cairo_restore() in TGtk3DeviceContext so we can see if there's mismatch. 2025-01-26 15:50:33 +01:00
Martin
b9e392ee96 SynEdit: SynEditKeycmds, added missing IntToIdent mappings. Marked some constants as unimplemented. 2025-01-26 15:35:55 +01:00
Martin
fce631b4f7 SynEdit: deprecate ecGotFocus / ecLostFocus. They have no functionality. 2025-01-26 15:35:55 +01:00
Martin
97ea7c51a4 SynEdit: - Replace ShortCutToText from SynEditKeyCmds (incomplete/broken) with the LclProc implementation. Issue #41360
- Fix condition for displaying 2nd shortcut in TSynEditKeyStroke.GetDisplayName
- Remove dead code.
2025-01-26 15:35:54 +01:00
mattias
1d92530751 codetools: less hints 2025-01-26 15:27:39 +01:00
zeljan1
5f2e152d27 LCL: fixed enum member comments. Patch by Alexey Torgashin. issue #41364 2025-01-26 15:24:19 +01:00
mattias
2706cc285c codetools: fixed method jump from objfpc generic method body to decl 2025-01-26 15:23:38 +01:00
mattias
b7aafac192 codetools: fixed class completion of objfpc generic method 2025-01-26 14:55:54 +01:00
mattias
9d425ed90b codetools: renamed TCodeTreeNodeExtension ExtTxt fields 2025-01-26 14:55:54 +01:00
zeljan1
680cab3fa0 LCL: fixed explanation of csAcceptsControls, it is widely used in LCL at runtime, so it is not related to designer only. 2025-01-26 12:50:17 +01:00
Martin
21d8cebd73 IDE, SynEdit: command to toggle fold on current line. Issue #41359 2025-01-26 12:20:02 +01:00
mattias
5f5a6dca90 ide: save as check ampersand 2025-01-26 11:57:25 +01:00
dsiders
4d67fbc31c Docs: LCL/various. Corrects spelling errors, typos. 2025-01-25 23:42:08 -05:00
Martin
5aee1dc5de IDE: SourceEditor, fix painting hint on completion drop down. Do not limit to width of dropdown, the hint is intentionally wider. (Currently use "ItemSelect" to detect if the paint may be for the hint) 2025-01-26 00:39:14 +01:00
Martin
7f4426c2e9 SynEdit: Mark as changed (change gutter) if deleting line with ecDeleteLine (next line will be marked, like when selection was deleted). Issue #41264 2025-01-25 23:31:26 +01:00
zeljan1
cc4e6da36b Gtk3: implemented listview ItemDisplayRect 2025-01-25 23:15:00 +01:00
Martin
c2974f91ee SynEdit: UnixShellScript Highlighter, treat # and ~ as identifiers rather than unknown. Add separate markup-color for unknown. Issue #41288 2025-01-25 22:12:52 +01:00
zeljan1
470c7fe34c Gtk3: cleanup. 2025-01-25 22:01:54 +01:00
zeljan1
1a7bfbe92c Gtk3: reduce compiler hints. 2025-01-25 22:00:28 +01:00
zeljan1
375aee0658 Gtk3: set background color. Patch by Anton Kavalenka. issue #41348 2025-01-25 21:59:24 +01:00
Martin
d121ba841e SynEdit: fix folded view, missing assign to result. (random gutter errors with wrapped text) 2025-01-25 21:40:13 +01:00
zeljan1
5eded0d07e Gtk3: fixed loop with paint, stalled code. 2025-01-25 21:31:21 +01:00
zeljan1
16be2ec0a6 Gtk3: update scroll event, some code leaved inside debug define. 2025-01-25 20:07:04 +01:00
zeljan1
938a777f5a Gtk3: fixed scrolling and proper painting of TCustomControl, reduce number of unnecessary events. 2025-01-25 19:27:22 +01:00
Martin
420af4fe70 IDE, SourceEdit: keep topline when folding comment and similar via context menu. Adapt for word-wrap. 2025-01-25 18:42:13 +01:00
Martin
beb2505039 IDE, SourceEdit: keep topline when folding comment and similar via context menu. Issue #41227 2025-01-25 18:22:30 +01:00
Maxim Ganetsky
6e373ed9c6 IDE: regenerated translations and updated Russian translation 2025-01-25 18:33:17 +03:00
zeljan1
cf18117fd2 Gtk3: added Gtk3IsAdjustment() 2025-01-25 15:59:23 +01:00
zeljan1
df90538fc2 Gtk3: ScrollWindowEx() use queue_draw_area instead of move_region. We don't want to move children until it's explicitly set in flags. 2025-01-25 09:58:48 +01:00
dsiders
0e1ed024d8 Docs: LCL/dialogs. Updates TColorDialogOption.cdShowAlphaChannel to include GTK3 in the supported platforms. Issue #22717. 2025-01-24 23:34:46 -05:00
Martin
ab35263d34 IDE: Add config for SynEdit wrapped-view 2025-01-24 21:43:11 +01:00
Martin
dfadb86949 SynEdit: Wrapped-View, introduced MinWrapWidth 2025-01-24 21:43:10 +01:00
Martin
8acb7a8215 SynEdit: Wrapped-view, publish CaretWrapPos 2025-01-24 21:43:10 +01:00
Martin
8177877e02 SynEdit: Wrapped-view, map (mouse click) positions at (before/after) start/end of sub-line to the correct end/start pos of the subline (according to property CaretWrapPos) 2025-01-24 21:43:10 +01:00
Martin
1f18a0d57d SynEdit: TextDrawer, paint divider lines only for last wrapped line 2025-01-24 21:43:09 +01:00
Martin
2a874e1c87 SynEdit: fix invalidate gutter-lines, if caret Viewed-Y changes 2025-01-24 21:43:09 +01:00
Martin
ce7acbe6cf SynEdit: markup gutter-marks, use logical pos. Handle wrapped lines (phys pos occurs on every sub-line) 2025-01-24 21:43:09 +01:00
Martin
86abcd75d9 SynEdit: Add support for folding wrapped text 2025-01-24 21:43:08 +01:00
Martin
a09c94fa11 SynEdit: Folded-view, rename TopLine to TopViewPos 2025-01-24 21:43:08 +01:00
Martin
7727294e2c SynEdit: Folded-View, rename some fields 2025-01-24 21:43:07 +01:00
Martin
a949f2be2e SynEdit: Wrapped-view, clean up empty nodes 2025-01-24 21:43:07 +01:00