mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
correct second search and popups closing sometimes on search
This commit is contained in:
parent
ec93e87deb
commit
746fe1e99f
3 changed files with 10 additions and 9 deletions
|
|
@ -109,6 +109,7 @@
|
|||
(*menu-full-screen-item* variable)
|
||||
(*menu-icon-image-class* variable)
|
||||
(*top-bar-height* variable)
|
||||
(*default-icon* variable)
|
||||
(*default-title-class* variable)
|
||||
(*default-border-class* variable))
|
||||
|
||||
|
|
|
|||
|
|
@ -83,14 +83,14 @@
|
|||
(when win
|
||||
(let ((pop (connection-data-item obj "clog-popup")))
|
||||
(when pop
|
||||
(close-window pop)
|
||||
(window-focus win))
|
||||
(focus pop)
|
||||
(window-focus win)))
|
||||
(when regex
|
||||
(focus (window-param win))
|
||||
(js-execute obj (format nil "~A.find({regExp:true,needle:'~A',caseSensitive:false})"
|
||||
(clog-ace::js-ace (window-param win)) (escape-string regex))))
|
||||
(js-execute obj (format nil "~A.find('~A',{caseSensitive:false,regExp:true})"
|
||||
(clog-ace::js-ace (window-param win)) regex)))
|
||||
(when show-find
|
||||
(clog-ace:execute-command (window-param win) "find")))
|
||||
(clog-ace:execute-command (window-param win) "find"))
|
||||
win)
|
||||
(unless win
|
||||
(let* ((app (connection-data-item obj "builder-app-data"))
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@
|
|||
(defun sys-browser-file-name-on-click (panel target)
|
||||
(unless (or (equal (text-value target) "")
|
||||
(equal (text-value target) "click to open file in source editor"))
|
||||
(on-open-file target :open-file (text-value target) :regex (search-js panel))))
|
||||
(on-open-file target :open-file (text-value target) :show-find t :regex (search-js panel))))
|
||||
|
||||
(defun sys-browser-eval-form-button-on-click (panel target)
|
||||
(declare (ignore target))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue