Abbreviation templates: field name highlighting overshoots target
Bug #1336050 reported by
wgw
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.
To post a comment you must log in.
This really has been fixed.