mirror of https://codeberg.org/cage/tinmop/
- [GUI] fixed checkbutton for case matching search in gemntext.
This commit is contained in:
parent
be04ddc99c
commit
53a6a6e9ab
|
@ -54,14 +54,15 @@
|
|||
(declare (ignore e))
|
||||
(loop for match in (matches frame) do
|
||||
(gui:tag-delete gemtext-widget (gui:match-tag-name match)))
|
||||
(let ((tags (gui:search-all-text gemtext-widget (gui:text (entry frame))
|
||||
:case-insensitive (gui:value case-sensitive-checkbox))))
|
||||
(let ((tags (gui:search-all-text gemtext-widget
|
||||
(gui:text (entry frame))
|
||||
:case-insensitive
|
||||
(not (gui:value case-sensitive-checkbox)))))
|
||||
(setf (matches frame) (nreverse tags)))
|
||||
(loop for match in (matches frame) do
|
||||
(gui:tag-configure gemtext-widget
|
||||
(gui:match-tag-name match)
|
||||
:background (gui:cget gemtext-widget
|
||||
:highlightbackground)))))
|
||||
:background (gui:cget gemtext-widget :highlightbackground)))))
|
||||
(setf (gui:command (button-next frame))
|
||||
(lambda ()
|
||||
(when (matches frame)
|
||||
|
|
Loading…
Reference in New Issue