Page Menu
Home
Search
Configure Global Search
Log In
Files
F23341
fix_py_console_autocomplete_cursor_movement.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Shinsuke Irie (irie)
Nov 13 2013, 5:12 PM
Size
577 B
Subscribers
None
fix_py_console_autocomplete_cursor_movement.patch
View Options
Index: release/scripts/modules/console/intellisense.py
===================================================================
--- release/scripts/modules/console/intellisense.py (revision 54783)
+++ release/scripts/modules/console/intellisense.py (working copy)
@@ -148,7 +148,7 @@
if prefix:
line = line[:cursor] + prefix + line[cursor:]
- cursor += len(prefix)
+ cursor += len(prefix.encode('utf-8'))
if no_calltip and prefix.endswith('('):
return expand(line, cursor, namespace, private)
return line, cursor, scrollback
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0c/0a/884f05aab1726c5f347eaee626a3
Event Timeline
Log In to Comment