View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000822||FreeCAD||Patch||public||2012-09-03 14:05||2012-09-05 12:03|
|Fixed in Version||0.13|
|Summary||0000822: Two little tweaks for the python console|
maybe a matter of taste, but I found myself annoyed by two aspects in the behaviour of the python conssole:
* while changing the window focus TOWARDS the FreeCAD-console by a click, the cursor appears somewhere in the history, unless I really aim at the last line.
* the history backward search stops on each key press, even if that key didn't change the line's content.
Actually, it's sort of an extension to ticket 0000489, but I thought it's maybe better to open a new one.
|Additional Information||The attached patch changes these two things, by quite small changes|
# overriding the mouseReleaseEvent of the console's TextEdit
- on left-click move cursor to end of last input line
- differentiates between left-click and selection => history selection kept unchanged
# restarting history search only if input line changed
Sorry, I'm not the great git guru yet. I didn't manage to create a partial diff of a certain revision. So it's just a plain patch file without commit message.
Hope it's ok anyway.
|Tags||No tags attached.|
|2012-09-03 14:05||zappl||New Issue|
|2012-09-03 14:05||zappl||File Added: diff_console.patch|
|2012-09-05 12:03||wmayer||Note Added: 0002346|
|2012-09-05 12:03||wmayer||Status||new => closed|
|2012-09-05 12:03||wmayer||Resolution||open => fixed|
|2012-09-05 12:03||wmayer||Fixed in Version||=> 0.13|