Commit Graph

87 Commits

Author SHA1 Message Date
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
juha
f91bff8d37 PackageEditor: Fix removing many files. Update Files and RemovedFiles separately. Don't update everything after removing a file (issue #26188).
git-svn-id: trunk@46110 -
2014-09-02 21:35:21 +00:00
juha
c5e69a4a97 LCL: remove redundant checks from TTreeFilterBranch.FreeNodeData.
git-svn-id: trunk@46108 -
2014-09-02 21:35:18 +00:00
juha
176412a277 LCL: in FilterEdit, name a method better (ReturnKeyHandled).
git-svn-id: trunk@44914 -
2014-05-04 22:32:35 +00:00
juha
9f824e8954 TreeFilterEdit: Small optimization + fix comment.
git-svn-id: trunk@43635 -
2014-01-02 18:16:58 +00:00
juha
c8cb0503bd Package editor: Fix a bug that prevented moving files up/down.
git-svn-id: trunk@43631 -
2014-01-02 18:16:40 +00:00
mattias
1ae4a6b361 lazcontrols: TTreeFilterBranch.RemoveChildrenData: fixed crash when passing nil
git-svn-id: trunk@43355 -
2013-11-03 08:34:11 +00:00
juha
51b74b6f56 TreeFilterEdit: change visibility of FreeNodeData and remove a hack-accessor class.
git-svn-id: trunk@43345 -
2013-10-31 00:16:45 +00:00
juha
95fe4e6ff1 TreeFilterEdit: Improve TTreeFilterBranch.RemoveChildrenData logic. Issue #25259, patch from Cyrax
git-svn-id: trunk@43344 -
2013-10-30 22:55:22 +00:00
mattias
766298e0ef lazcontrols: fixed crash on freeing TFileNameItem
git-svn-id: trunk@43341 -
2013-10-30 10:20:24 +00:00
paul
6f63e5d1ef lazcontrols: use FPC resources for component images
git-svn-id: trunk@43037 -
2013-09-29 10:47:28 +00:00
juha
5ca336a4a2 LazControls: Select always a node in a filtered TreeView. Issue #24795
git-svn-id: trunk@42253 -
2013-07-31 19:51:04 +00:00
mattias
7309c93641 lazcontrols: TTreeFilterEdit: added Clean, bug #24662
git-svn-id: trunk@41930 -
2013-06-28 06:49:27 +00:00
mattias
0bd92fe903 lazcontrols: fixed crash on invalid type cast, bug #24679, patch by Cyrax
git-svn-id: trunk@41919 -
2013-06-27 13:47:32 +00:00
juha
b9186be31a TreeFilterEdit: remove generics type TTreeNodeList. Not needed because type casts is used anyway.
git-svn-id: trunk@41916 -
2013-06-27 08:54:59 +00:00
mattias
a335aef877 IDE: TTreeFilterEdit: using TTFENodeData
git-svn-id: trunk@41912 -
2013-06-27 02:57:55 +00:00