ide: FindAll button in Find

git-svn-id: svn://ultimatepp.org/upp/trunk@10942 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-03-16 18:53:47 +00:00
commit b788ada7ae
8 changed files with 140 additions and 82 deletions

View file

@ -1,21 +1,22 @@
LAYOUT(IDEFindReplaceLayout, 756, 52)
LAYOUT(IDEFindReplaceLayout, 776, 52)
ITEM(Label, info, SetLabel(t_("&Find")).LeftPosZ(4, 60).TopPosZ(4, 19))
ITEM(WithDropChoice<EditString>, find, LeftPosZ(68, 140).TopPosZ(4, 19))
ITEM(Button, prev, LeftPosZ(212, 20).TopPosZ(4, 19))
ITEM(Button, next, LeftPosZ(232, 20).TopPosZ(4, 19))
ITEM(Option, wholeword, SetLabel(t_("&Whole word")).LeftPosZ(256, 88).TopPosZ(4, 19))
ITEM(Option, wildcards, SetLabel(t_("Wild&cards")).LeftPosZ(348, 72).TopPosZ(4, 19))
ITEM(Option, ignorecase, SetLabel(t_("&Ignore case")).LeftPosZ(424, 80).TopPosZ(4, 19))
ITEM(Option, regexp, SetLabel(t_("RegExp")).LeftPosZ(508, 80).TopPosZ(4, 19))
ITEM(Option, incremental, SetLabel(t_("Incremental")).LeftPosZ(568, 92).TopPosZ(4, 19))
ITEM(Option, incremental_from_cursor, SetLabel(t_("from cursor")).LeftPosZ(648, 92).TopPosZ(4, 19))
ITEM(WithDropChoice<EditString>, find, LeftPosZ(56, 124).TopPosZ(4, 19))
ITEM(Button, prev, LeftPosZ(180, 20).TopPosZ(4, 19))
ITEM(Button, next, LeftPosZ(200, 20).TopPosZ(4, 19))
ITEM(Option, wholeword, SetLabel(t_("&Whole word")).LeftPosZ(276, 88).TopPosZ(4, 19))
ITEM(Option, wildcards, SetLabel(t_("Wild&cards")).LeftPosZ(368, 72).TopPosZ(4, 19))
ITEM(Option, ignorecase, SetLabel(t_("&Ignore case")).LeftPosZ(444, 80).TopPosZ(4, 19))
ITEM(Option, regexp, SetLabel(t_("RegExp")).LeftPosZ(528, 80).TopPosZ(4, 19))
ITEM(Option, incremental, SetLabel(t_("Incremental")).LeftPosZ(588, 92).TopPosZ(4, 19))
ITEM(Option, incremental_from_cursor, SetLabel(t_("from cursor")).LeftPosZ(668, 92).TopPosZ(4, 19))
ITEM(Button, close, RightPosZ(4, 20).TopPosZ(4, 19))
ITEM(Label, replace_txt, SetLabel(t_("&Replace")).LeftPosZ(4, 60).TopPosZ(28, 21))
ITEM(WithDropChoice<EditString>, replace, LeftPosZ(68, 140).TopPosZ(28, 19))
ITEM(Button, amend, LeftPosZ(212, 20).TopPosZ(28, 19))
ITEM(Button, amend_all, SetLabel(t_("All")).LeftPosZ(236, 44).TopPosZ(28, 19))
ITEM(Button, amend_rest, SetLabel(t_("Rest")).LeftPosZ(284, 52).TopPosZ(28, 19))
ITEM(Option, samecase, SetLabel(t_("Mimic case")).LeftPosZ(424, 108).TopPosZ(28, 19))
ITEM(WithDropChoice<EditString>, replace, LeftPosZ(56, 124).TopPosZ(28, 19))
ITEM(Button, amend, LeftPosZ(180, 20).TopPosZ(28, 19))
ITEM(Button, amend_all, SetLabel(t_("All")).LeftPosZ(208, 44).TopPosZ(28, 19))
ITEM(Button, find_all, SetLabel(t_("All")).LeftPosZ(220, 44).TopPosZ(4, 19))
ITEM(Button, amend_rest, SetLabel(t_("Rest")).LeftPosZ(256, 52).TopPosZ(28, 19))
ITEM(Option, samecase, SetLabel(t_("Mimic case")).LeftPosZ(396, 108).TopPosZ(28, 19))
ITEM(Switch, mode, SetLabel(t_("Replace\nRemove lines without pattern\nRemove line with pattern")).LeftPosZ(0, 408).TopPosZ(64, 16))
END_LAYOUT