The new minibuffer_find_mode sounds like a huge improvement! I always wanted the find and replace strings both on the minibuffer.
exception executing command
Traceback (most recent call last):
File "C:\Users\L\Documents\sourcetreeapp\leo-editor\leo\core\leoCommands.py", line 5496, in doCommand
val = command(event)
File "C:\Users\L\Documents\sourcetreeapp\leo-editor\leo\core\leoGlobals.py", line 1334, in wrapper
func(self, event=event)
File "C:\Users\L\Documents\sourcetreeapp\leo-editor\leo\core\leoFind.py", line 1121, in change
self.changeSelection()
File "C:\Users\L\Documents\sourcetreeapp\leo-editor\leo\core\leoFind.py", line 1194, in changeSelection
c.frame.tree.drawIcon(p) # redraw only the icon.
File "C:\Users\L\Documents\sourcetreeapp\leo-editor\leo\plugins\qt_tree.py", line 709, in drawIcon
itemOrTree = self.position2item(p) or w
File "C:\Users\L\Documents\sourcetreeapp\leo-editor\leo\plugins\qt_tree.py", line 847, in position2item
item = self.position2itemDict.get(p.key())
I'm getting weirdness when trying to use minibuffer replace, first if nothing is selected it tells me "no text selected", if I have text selected sometimes it just deletes the selected text and sometimes I see this:
I'm getting weirdness when trying to use minibuffer replace, first if nothing is selected it tells me "no text selected", if I have text selected sometimes it just deletes the selected text and sometimes I see this:exception executing command
File "...leo\core\leoFind.py", line 1194, in changeSelection
c.frame.tree.drawIcon(p) # redraw only the icon.
[snip]
Nice catch. Fixed at rev c7e62c2.
The fix was to have changeSelection init p = self.p or c.p, which will surely solve the specific problem. The logic that sets self.p is hairy, so it's best not to mess with it ;-)
A later rev changes c.p.copy() to c.p throughout. c.p is a property which always returns a fresh copy of a position.
EKR