Commit Graph

70935 Commits

Author SHA1 Message Date
Maxim Ganetsky
c68e0df5e5 Merge branch 'IDE/Help/ContextHelpEdit/Shortcuts' into 'main'
IDE/ContextHelpEdit: Add some shortcuts to dialog

See merge request freepascal.org/lazarus/lazarus!512
2025-06-27 16:19:01 +03:00
n7800
c106009c12 IDE/ContextHelpEdit: Add some shortcuts to dialog 2025-06-27 15:47:04 +03:00
Martin
955b946f8c SynEdit: remove outdated comment (after c33eb7418e) 2025-06-27 14:28:05 +02:00
Martin
bb49b8d5f9 SynEdit: fixed InvalidateLines. Keep adjusting the lines until ScrollAfterTopLineChanged was called.
Issue was introduced in c33eb7418e "Improve order of event in DecPaintLock...£
2025-06-27 13:54:55 +02:00
Martin
c33eb7418e SynEdit: Improve order of event in DecPaintLock. Make sure ScrollAfterTopLineChanged is only called once, and as late as possible (after all InvalidateLines calls should be done) 2025-06-27 12:14:20 +02:00
Juha
b4ccfdb8b6 SynEdit: Fix CodeTemplate completion when Attributes section is missing. Related to issue #40764. 2025-06-27 11:43:49 +03:00
Juha
f5d2710305 Designer: Eliminate a variable. 2025-06-27 10:48:33 +03:00
Juha
02f7ab0b68 Designer: Use FForm instead of FLookupRoot as parent for sake of consistency. Issue #41727. 2025-06-27 09:06:30 +03:00
Juha
e3d6bcdbc6 Designer: Use the correct parent when undoing a delete of many panels. Issue #41727. 2025-06-26 18:00:19 +03:00
Martin
ce116148be SynEdit: Cleanup Markup-Hl-WordAtCaret. CheckState in DecPaintLock. 2025-06-26 16:22:22 +02:00
Martin
1fc6ac18b4 SynEdit: add cache for topline 2025-06-26 16:22:21 +02:00
Martin
a6734c4df9 SynEdit: Rename TextArea.TopLine to TopViewedLine 2025-06-26 16:22:21 +02:00
Martin
0c15c25f2b IDE: SourceEditor, optimize away repeated calls to SynEdit (caret/topline) 2025-06-26 16:22:21 +02:00
Juha
5a865307e1 ToDoList: Disable Edit and Goto actions when nothing is selected. 2025-06-26 14:14:56 +03:00
Juha
87f0aec570 ToDoList: Add a button for editing the selected item in a dialog. 2025-06-26 12:06:30 +03:00
Martin
4f879177e7 SynEdit: Markup-FoldColoring, fix workaround for extra invalidated line no longer needed.
The extra invalidation was removed in 38dd104393
2025-06-26 10:32:35 +02:00
Maxim Ganetsky
1de4c81f7a Merge branch 'Cody/Dictionary/RightClick' into 'main'
Cody/Dictionary: Select an item with a right mouse click

See merge request freepascal.org/lazarus/lazarus!508
2025-06-25 23:25:22 +03:00
Martin
bf6a42159b SynEdit: Fix Issue with missing updates (markup not updated).
Only wait for Autosize if in/after CreateHandle, otherwise it may never happen (locked, but no size change).
In the IDE, revert/reload (after disk change) did not update user-defined-colors.
2025-06-25 22:05:27 +02:00
n7800
67977ad356 Cody/Dictionary: Select an item with a right mouse click 2025-06-25 22:53:48 +03:00
Maxim Ganetsky
63f0e8b53c IDE: removed lazarusidestrconsts.pas.orig, which apparently was committed by accident 2025-06-25 22:15:56 +03:00
Martin
dc7e7aa6ca LCL: Refactor Childsizing, split TAutoSizeBox into classes for table, row and cell 2025-06-25 18:26:20 +02:00
rich2014
c5c40fa8ed Cocoa: fix Control Key issue in Button and CustomControl
1. it may cause a crash when pressing the Button with the Space Key to close the Form
2. ESC and RETURN may be lost in CustomControl (such as TreeView)
2025-06-25 23:52:59 +08:00
mattias
2504c0fce0 codetools: find references: search simple function Result references 2025-06-25 17:51:59 +02:00
Maxim Ganetsky
977f3e8331 Merge branch 'Cody/Dictionary/MaxItemsOption' into 'main'
Cody/Dictionary: Fixed the tab order in the options frame

See merge request freepascal.org/lazarus/lazarus!507
2025-06-25 16:28:48 +03:00
n7800
2ef0656cc0 Cody/Dictionary: Fixed the tab order in the options frame 2025-06-25 16:22:01 +03:00
mattias
cbefa133c9 codetools: gather identifiers: skip compilerproc 2025-06-25 14:57:32 +02:00
Martin
a2c8248bc3 LCL, Test: Test BidiMode for ChildSizing (correct alignment for crsAnchorAligning ). Issue #28483 2025-06-25 11:49:32 +02:00
Juha
940adefb9d IDE, ToDoList: Prevent a crash in FindUnitsOfOwner when a unit does not exist. Issue #41709. 2025-06-25 12:24:13 +03:00
Don Siders
23df8021c1 Merge branch 'LCL/FindChildControl/Docs' into 'main'
Docs: LCL/controls. Updating FindChildControl function content

See merge request freepascal.org/lazarus/lazarus!504
2025-06-24 19:14:40 -04:00
n7800
9600246db4 Docs: LCL/controls. Updating FindChildControl function content 2025-06-25 01:13:49 +03:00
Maxim Ganetsky
fee838c3d4 IDE: regenerated translations 2025-06-25 01:10:15 +03:00
Maxim Ganetsky
e373c65dbf Codetools/Cody: regenerated translations and updated Russian translation 2025-06-25 01:09:23 +03:00
Maxim Ganetsky
7ebb935039 Merge branch 'IDE/PropEdit/Strings/CtrlEnter' into 'main'
IDE: Add [Ctrl+Enter] shortcut to "OK" button in "TStrings" property editor

See merge request freepascal.org/lazarus/lazarus!506
2025-06-24 23:17:31 +03:00
Maxim Ganetsky
31ce0772fa Merge branch 'Cody/Dictionary/FixDisplayCount' into 'main'
Cody/Dictionary: Corrected the exact number of items displayed

See merge request freepascal.org/lazarus/lazarus!502
2025-06-24 23:15:50 +03:00
Maxim Ganetsky
a878c16ee6 Merge branch 'Cody/Dictionary/MaxItemsOption' into 'main'
Cody/Dictionary: Option for the maximum number of identifiers in the list

See merge request freepascal.org/lazarus/lazarus!503
2025-06-24 23:14:49 +03:00
n7800
09646d2f39 IDE: Add [Ctrl+Enter] shortcut to "OK" button in "TStrings" property editor 2025-06-24 22:45:08 +03:00
Martin
176a168010 LCL: Fix BidiMode for ChildSizing (correct alignment for crsAnchorAligning or non-fitting oversized content). Issue #28483
Reverts f0c35a35282c2c32d2374e42cbadfe82d3c80a97 which prevented a resize-loop / Childsizing has been partly rewritten since).
2025-06-24 21:45:05 +02:00
Martin
a13c86d979 SynEdit: ScanRanges, make sure all line-change notifications have been send before scanning and markup. 2025-06-24 21:45:05 +02:00
Martin
38dd104393 SynEdit: clean up calculation of changed lines / get rid of extra invalidate line. 2025-06-24 21:45:05 +02:00
Martin
439768951a SynEdit: Refactor ScanRanges / Fix changed lines for ScanRanges (when outside PaintLock) 2025-06-24 21:45:04 +02:00
n7800
46440860a9 Cody/Dictionary: Option for the maximum number of identifiers in the list 2025-06-24 22:42:44 +03:00
Maxim Ganetsky
855b1803db Merge branch 'Cody/Dictionary/ContextPopup' into 'main'
Cody/Dictionary: Do not display popup menu if non-identifier is selected

See merge request freepascal.org/lazarus/lazarus!501
2025-06-24 22:41:36 +03:00
n7800
58dece93f7 Cody/Dictionary: Corrected the exact number of items displayed 2025-06-24 22:39:32 +03:00
n7800
e240a8897b Cody/Dictionary: Add resource strings for context menu items 2025-06-24 22:34:29 +03:00
n7800
1e1a6a44e7 Cody/Dictionary: Do not display popup menu if non-identifier is selected 2025-06-24 22:34:29 +03:00
Maxim Ganetsky
5e16f81833 Merge branch 'IDE/Help/HelpButton' into 'main'
IDE/Help: Automatically assign shortcut hints to help buttons in windows

See merge request freepascal.org/lazarus/lazarus!505
2025-06-24 22:32:36 +03:00
n7800
569e3484fe IDE: Clearing unnecessary help button hints 2025-06-24 22:31:46 +05:00
n7800
f2e991aa05 IDE/Help: Automatically assign shortcut hints to help buttons in windows 2025-06-24 22:31:45 +05:00
mattias
2f35bfbe90 debuggerintf: added fcl-proc331 to unitpath 2025-06-24 14:03:54 +02:00
mattias
1e821d7110 debuggerintf: added fcl-process331 to unitpath for fpc 3.2.* 2025-06-24 13:53:09 +02:00