Commit Graph

1542 Commits

Author SHA1 Message Date
Martin
2a67f6ec76 Renamed LazarusCommonStrConst to IdeIntfStrConsts 2023-01-25 16:51:48 +01:00
Martin
2d2e5431aa IDE: moved some of the most common ResourceString to IdeIntf, so other IDE packages can use them (instead of duplicating them) 2023-01-10 17:00:41 +01:00
mattias
e7126c8d19 IDE: consistent check and typecast 2022-12-16 13:44:40 +01:00
mattias
ca9b4579d0 IDE: clean up 2022-12-14 15:09:28 +01:00
wp_xyz
b9c4368fce Designer: TScrollingWinControl paints design-time grid only on visible area. Issue #39866. Based on work by German forum user "siro". 2022-08-25 09:57:47 +02:00
mattias
0716a2c3bd ide: designer: use lm_contextmenu instead of mbRight 2022-05-07 07:05:46 +02:00
mattias
8f868ae0e9 IDE: less hints 2022-01-06 13:08:50 +01:00
Juha
d056a1c9f1 Designer,IDE: Change a function name to FindGlobalComponent. Reduce debug info. 2021-12-28 16:53:33 +02:00
Juha
f97c70817d ProjectGroups: Add debug output for LazBuild command line parameters. Remove other debug lines. 2021-11-23 15:42:17 +02:00
Juha
641c3a73f0 Designer: Name Menu separators as "SeparatorX" to make name clashes less likely. Issue #39471. 2021-11-17 18:08:41 +02:00
Juha
865013eeb9 IDE: Remove unused and duplicate resource strings. Fix exception messages. 2021-09-30 17:23:21 +03:00
Juha
de4f724924 Revert checking for Pascal keywords in LazIsValidIdent which is used also for unit names etc. Prevent illegal name by other means. 2021-09-28 14:33:36 +03:00
Juha
f6b7ba2662 Designer: Prevent an illegal name for a component when "Ask name on create" is enabled. Issue #39292. 2021-09-26 01:18:05 +03:00
michl
d8b67e5786 IDE: Remove EnvironmentOptions.DesignerPaintLazy to prevent paintings outside OnPaint resulting in painting artefacts. Fixes issue #23741 and #33781
git-svn-id: trunk@65304 -
2021-06-25 14:18:16 +00:00
maxim
3566beff8f Designer: fixed typos related to 'occur' word
git-svn-id: trunk@65205 -
2021-06-10 22:16:29 +00:00
juha
7b18690162 Remove an obsolete dbg message when deleting a comp. Remove "var" from params when not needed.
git-svn-id: trunk@65000 -
2021-04-15 19:22:38 +00:00
juha
1b7c39ba12 Designer: When removing a component, remove its owned item declarations in source. Issue #38731.
git-svn-id: trunk@64985 -
2021-04-13 15:57:46 +00:00
michl
66d4faff93 IDE: Designer: Use clWindowText as color for control text like components, requested in German Lazarusforum
git-svn-id: trunk@64833 -
2021-03-17 21:49:18 +00:00
michl
19c40b93bd IDE: Option background color for Non Form Designer e.g. TDataModule added - as requested in German Lazarus Forum
git-svn-id: trunk@64820 -
2021-03-15 13:37:40 +00:00
mattias
388532a797 IDE: less hints
git-svn-id: trunk@64682 -
2021-02-28 08:51:36 +00:00
mattias
a48c53db4e IDE: fixed crash in designer
git-svn-id: trunk@64591 -
2021-02-16 13:34:32 +00:00
michl
1f95674923 Refresh AnchorEditor after a control is changed in DockedFormEditor anchor designer
git-svn-id: trunk@64531 -
2021-02-11 21:35:54 +00:00
michl
46643fdda0 DockedFormEditor: prevent destroying designer layout per designer popup menu "Center Form"
git-svn-id: trunk@64530 -
2021-02-11 19:34:32 +00:00
juha
20c5ac47c0 IDE: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64440 -
2021-01-29 19:59:04 +00:00
juha
b4fc035018 Restore the "const" removed in r64300 #943e4e4ff7. Affected 3rd party components.
git-svn-id: trunk@64312 -
2020-12-31 10:57:48 +00:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
juha
3feac99f06 Designer, editor: Formatting.
git-svn-id: trunk@64302 -
2020-12-29 22:56:31 +00:00
juha
c0926457b8 IdeIntf: Harmonize events for Delete, update OI's tree when plugins are deleted from PSScript.
git-svn-id: trunk@64301 -
2020-12-29 22:47:37 +00:00
juha
943e4e4ff7 IdeIntf: Remove "const" from an event. Add HookGetCheckboxForBoolean handler in OI only once.
git-svn-id: trunk@64300 -
2020-12-29 22:47:34 +00:00
mattias
5fe35be313 IDE: less hints
git-svn-id: trunk@64291 -
2020-12-28 16:59:41 +00:00
michl
24567c321c Designer: Alternative fix of closing a LAMW form in designer. Related to revision 61223 #298236df33 and 64283
git-svn-id: trunk@64284 -
2020-12-26 22:44:03 +00:00
juha
4c2c4acb18 Designer: Name child controls only if owned by an added component. TPairSplitter may be the only one.
git-svn-id: trunk@64274 -
2020-12-25 17:26:39 +00:00
juha
deba76613b IdeIntf, Designer: Improve deleting components from OI's tree. Make a special case for PairSplitterSide. Issue #38235.
git-svn-id: trunk@64254 -
2020-12-20 14:46:02 +00:00
juha
5cf724ae46 Designer: Give names for the side components of PairSplitter. Don't crash when deleting. Issue #38227.
git-svn-id: trunk@64225 -
2020-12-18 10:51:37 +00:00
juha
5d01307132 IDE: Optimize adding components to designer a little.
git-svn-id: trunk@64198 -
2020-12-12 12:56:39 +00:00
juha
6813e28eef LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
juha
277bee311d Rename event handlers in TabOrder dialog.
git-svn-id: trunk@64196 -
2020-12-12 11:41:01 +00:00
juha
ce1d8c1014 IDE: Optimize ComponentPalette caches. Index by registered class instead of class name.
git-svn-id: trunk@64182 -
2020-12-08 19:34:40 +00:00
juha
477d5362ae Designer: Optimize ComponentIsInvisible with a cache. Affects the whole designer.
git-svn-id: trunk@64164 -
2020-11-30 19:42:24 +00:00
juha
d99c3b888f Designer: Move code from TComponentPalette.CheckComponentDesignerVisible to function ComponentIsInvisible.
git-svn-id: trunk@64163 -
2020-11-30 19:42:22 +00:00
juha
7a03920de9 Designer: Handle opRemove notification for TControlSelection after copy/paste.
git-svn-id: trunk@64141 -
2020-11-15 16:57:11 +00:00
juha
9fe47fd5a6 IdeIntf: Do not autoexpand ComponentTree in OI after a component is added. Issue #33464.
git-svn-id: trunk@64133 -
2020-11-13 21:47:19 +00:00
juha
6fa295d5e4 Designer: Call DoDeletePersistent only once after deleting a control.
git-svn-id: trunk@64132 -
2020-11-13 21:47:17 +00:00
juha
dbe82166d0 MenuEditor: Update menuitems correctly when adding or removing separators. Patch from BrunoK, issue #37595.
git-svn-id: trunk@63803 -
2020-08-21 16:04:36 +00:00
juha
8b34fff80b MenuEditor: Prevent assertion failure when separator selected, right click, "Remove all separators". Issue #37595.
git-svn-id: trunk@63802 -
2020-08-21 10:13:03 +00:00
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +00:00
juha
cca567d5e7 Designer: Restore function InvokeComponentEditor to componenteditors interface but implement it with PopupMenuComponentEditor. Must not be freed right away.
git-svn-id: trunk@62938 -
2020-04-11 09:43:14 +00:00
juha
0726d31a26 Designer: Use PopupMenuComponentEditor property to prevent a memory leak. Issue #36872.
git-svn-id: trunk@62928 -
2020-04-10 21:31:09 +00:00
juha
0a548cf17d Designer: Formatting, minor refactoring.
git-svn-id: trunk@62927 -
2020-04-10 21:30:58 +00:00
juha
25a0114031 IdeIntf: Update Object Inspector after changing order of items in ActionList Editor. Issue #36872.
git-svn-id: trunk@62926 -
2020-04-10 11:59:07 +00:00