Updated debug info
This commit is contained in:
@@ -547,6 +547,9 @@ class GuiDocEditor(QTextEdit):
|
||||
theCursor.endEditBlock()
|
||||
theCursor.setPosition(xPos)
|
||||
self.setTextCursor(theCursor)
|
||||
logger.verbose("Replaced occurrence of '%s' with '%s' on line %d" % (
|
||||
searchFor, replWith, theCursor.blockNumber()
|
||||
))
|
||||
if searchFor != "":
|
||||
self._findNext()
|
||||
return
|
||||
|
||||
+1
-5
@@ -81,15 +81,11 @@ class GuiSearchBar(QFrame):
|
||||
##
|
||||
|
||||
def setSearchText(self, theText):
|
||||
|
||||
if not self.isVisible():
|
||||
self.setVisible(True)
|
||||
|
||||
self.searchBox.setText(theText)
|
||||
self.searchBox.setFocus(True)
|
||||
|
||||
logger.debug("Setting search text to '%s'" % theText)
|
||||
|
||||
logger.verbose("Setting search text to '%s'" % theText)
|
||||
return True
|
||||
|
||||
def setReplaceText(self, theText):
|
||||
|
||||
Reference in New Issue
Block a user