Commit Graph

102 Commits

Author SHA1 Message Date
Juha
ceb97dc470 LazControls: Prevent TreeFilterEdit crashing when a form is closing, again. Issue #41509. 2025-03-08 18:50:15 +02:00
Juha
88b1bb6075 LazControls: Prevent TreeFilterEdit crashing when a form is closing. Issue #41509. 2025-03-08 10:41:43 +02:00
Juha
e8fa62c8e7 LazControls: Reset filtering correctly by FilterEdits when the control is detached. Issue #41321. 2025-03-07 09:53:55 +02:00
Juha
eff9f6981c LazControls: Do not expand/collapse nodes uselessly. Issues #41454,#41455. 2025-03-06 12:53:58 +02:00
Juha
803ce231ce LCL/LazControls: Update Button.Enabled state of FilterEdit component when it is loaded. Issue #41321. 2025-03-05 21:10:56 +02:00
Juha
d6c7371e1f LazControls: Fix design time issues in FilterEdit controls. Issue #41321. 2025-03-05 21:10:56 +02:00
Martin
43fa8cf71a LazControls: FilterEdit, keep track of owner sorted-flag to avoid unnecessary re-sorting. Issue: #41282 2024-12-17 11:26:27 +01:00
Martin
b1d3af8d21 LazControls: FilterEdit, unsort data in branch, if owner.SortData is or fShowDirHierarchy change. TODO: keep track, and avoid sorting if e.g. only filter changed. Issue: #41282 2024-12-16 22:04:07 +01:00
Martin
5cb22fbc12 LazControls:
- Incompatible: Change property access from TStringList to TStrings
- TreefilterEdit, Change internal storage
- Change to merge sort
2024-12-12 13:22:59 +01:00
Juha
d326f3e9e7 IDE In search results window, do not expand nodes when switching tabs. Issue #41259. 2024-12-01 00:35:10 +02:00
Juha
7f000a6970 LazControls: Filter data by TreeFilterEdit also when the TreeView is switched. By n7800. 2024-03-29 16:50:25 +02:00
Juha
8836534b9c LazControls: Improve selection by keys in TreeFilterEdit / TreeView. From b7800. 2024-03-11 01:24:15 +02:00
Juha
3692c658ae LCL, LazControls: Fix order of calling OnKeyDown in FilterEdit controls. Issue #40601, patch by n7800. 2023-11-20 22:48:10 +02:00
Juha
764415b6a0 LCL, LazControls: FilterEdit cleanup. Issue #40601, patch by n7800. 2023-11-20 22:45:11 +02:00
mattias
99810467be lazcontrols: TTreeFilterEdit: restore scroll position 2023-08-14 15:08:53 +02:00
Juha
87fe030800 LazControls, LCL: Add shortcuts to TreeFilterEdit to work with TreeView. Issue #40321, patch by n7800. 2023-06-16 02:01:21 +03:00
Juha
d28b530b59 LazControls: Restore fFilter variable for FilterEdit controls. Issue #40257. 2023-05-16 02:28:16 +03:00
Juha
34a99c8781 LazControls: Tweak TTreeFilterEdit. Issue #40257. 2023-05-15 20:59:47 +03:00
Juha
87bf39682e IDE, LazControls: Improve TTreeFilterEdit behavior little more. 2023-05-15 09:09:48 +03:00
Juha
6e1adda721 IDE, LazControls: Improve TTreeFilterEdit behavior. Fix property ExpandAllInitially. Issue #40257. 2023-05-15 02:15:40 +03:00
Juha
de07d13b01 LazControls: Optimize TTreeFilterBranch.Move(). A total redraw is not needed. 2023-03-27 13:46:46 +03:00
Juha
c8419bca6d IDE: Remember selection after moving an item in package editor. Issue #40135. 2023-03-05 10:34:00 +02:00
Juha
4c822bb36e LCL, LazControls: Remove fFilter variable from FilterEdits. Instead use Text property always. 2023-01-05 11:19:04 +02:00
Juha
5f4aa96422 LazControls, FilterEdits: Improve setting the filter programmatically. Invalidate after properties change. 2022-12-22 20:50:05 +02:00
juha
95b5489cff Components: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64466 -
2021-02-05 11:28:16 +00:00
juha
cd487bb192 LazControls: Improve the filter controls. Issue #34057, patch from Ondrej.
git-svn-id: trunk@59555 -
2018-11-16 11:06:02 +00:00
juha
b8f77626f9 LazControls: Call DoFilterItem instead of DoDefaultFilterItem in TTreeFilterBranch.SortAndFilter.
git-svn-id: trunk@59226 -
2018-10-02 11:38:55 +00:00
juha
d6624128a1 LazControls: Improve and optimize the filter controls. Issue #34057, patch from AlexeyT.
git-svn-id: trunk@59225 -
2018-10-02 09:47:13 +00:00
juha
deb177f78b LazControls: Add FilterOptions for filter controls. Issue #34057, patch from AlexeyT.
git-svn-id: trunk@58673 -
2018-08-04 21:27:39 +00:00
ondrej
801f6efb1b LCL, components: TCustomEditButton: enable image list support, use LCLBtnGlyphs.
git-svn-id: trunk@57722 -
2018-04-26 09:59:30 +00:00
juha
b2e65128ee Remove redundant "Assigned(X)" when checking "if X is Txxx". Issue #33030, patch from Vojtech Cihak.
git-svn-id: trunk@57099 -
2018-01-15 10:53:48 +00:00
juha
d969149f29 LazControls: In FilterEdits check everywhere if the associated control exists. Issue #32282.
git-svn-id: trunk@55673 -
2017-08-17 08:58:46 +00:00
juha
4c7dc1b89b Use Delete() instead of Copy() where appropriate.
git-svn-id: trunk@55311 -
2017-06-10 16:30:27 +00:00
juha
26faccc615 LazControls: Apply filter also at start in TreeFilterEdit. Issue #31632.
git-svn-id: trunk@54597 -
2017-04-09 22:14:01 +00:00
juha
ac90233ec4 LazControls: Clean uses sections.
git-svn-id: trunk@54595 -
2017-04-09 17:25:34 +00:00
juha
d447c14966 LCL, LazControls: Finish the FilterItem events ItemData parameter change. Patch from Ondrej.
git-svn-id: trunk@52748 -
2016-07-24 21:39:50 +00:00
juha
14b4d951fc LazControls: Add OnFilterNode event to TTreeFilterEdit. Unify parameters.
git-svn-id: trunk@52716 -
2016-07-19 15:37:07 +00:00
ondrej
385bdd0d4e LCL, LazControls: use DoFilterItem in all filter edits.
git-svn-id: trunk@52266 -
2016-05-02 21:57:09 +00:00
ondrej
070c78ff20 lazcontrols: move design code from LazControls into LazControlDsgn package
git-svn-id: trunk@52041 -
2016-03-24 07:05:48 +00:00
juha
d658049401 LazControls: Use the new OnFilterItemEx also for TreeFilterEdit.
git-svn-id: trunk@51866 -
2016-03-08 21:05:58 +00:00
juha
db51e758b5 Cleanup and comments
git-svn-id: trunk@51470 -
2016-02-01 21:04:59 +00:00
ondrej
235ced5144 lazcontrols: prevent AV in TTreeFilterEdit.RestoreSelection if treeview is nil. Issue #29441
git-svn-id: trunk@51312 -
2016-01-18 16:00:35 +00:00
juha
53810b548d Package editor: Don't update the whole tree when moving a dependency up/down. Part of issue #26188.
git-svn-id: trunk@50796 -
2015-12-14 12:19:01 +00:00
juha
7bc722522a LazControls: Select the first matching node in TreeFilterEdit. Issue #24795.
git-svn-id: trunk@50545 -
2015-11-30 20:14:18 +00:00
ondrej
89d2d8a738 lazcontrols: filteredit: fixed default filter functions for non-lowercase strings.
git-svn-id: trunk@50331 -
2015-11-14 09:22:00 +00:00
ondrej
471e8b0da4 LCL: FilterEdit support for PageUp, PageDown, Ctrl+Home, Ctrl+End and basic support for selection. Issue #28900
git-svn-id: trunk@50164 -
2015-10-25 20:47:35 +00:00
juha
06ac76f560 LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
jesus
7ab6918cc8 LazControls: check filteredtreeview and listbox, fix AV, from BBaz, issue #27137
git-svn-id: trunk@47120 -
2014-12-06 03:44:54 +00:00
juha
b98b901269 TreeFilterEdit: Better names for 2 methods.
git-svn-id: trunk@46225 -
2014-09-14 13:23:50 +00:00
juha
56e178994f PackagerEditor: improve updating only parts of the view after user changes.
git-svn-id: trunk@46224 -
2014-09-14 13:23:43 +00:00