On Saturday, June 20, 2015 at 12:58:28 PM UTC-5, john lunzer wrote:
>
> 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
>

[snip]

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

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to