Abbreviation templates: field name highlighting overshoots target

Bug #1336050 reported by wgw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
leo-editor
Fix Released
Undecided
Unassigned

Bug Description

(On Ubuntu 12.04, using Leo 4.11 final, build 62b0df06c7b6 (branch: master), 2014-06-29 19:39:45)

In an abbreviation template like this:

def main():
    <|code|>

if __name__ == '__main__':
    main()

The search (with ,,) highlighting 4 characters more than it should; in this case it will include [code\n\nif], as follows (square brackets indicate highlighting):

def main():
    [code

if] __name__ == '__main__':
    main()

This does not seem to be a newline problem. In other contexts, I get the same extra 4 characters.

Revision history for this message
Edward K. Ream (edreamleo) wrote :

This really has been fixed.

Changed in leo-editor:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.