From: SourceForge.net <no...@so...> - 2008-02-28 09:23:31
|
Patches item #1849205, was opened at 2007-12-12 10:16 Message generated for change (Comment added) made by kpouer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300588&aid=1849205&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: texteditor Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: encorejane (encorejane) Assigned to: Nobody/Anonymous (nobody) Summary: SmartHome/End-option to disable the third invoacation? Initial Comment: IMO, the smartHome/End functionality becomes useless with the third invocation, as no more changes would occur after the third invocation. Also, Ctrl+home or Ctrl+end could be used instead for that purpose. It would be nicer, though, for smarthome and smart end to behave like most other text editors, which is to alternate between start/end of line and start/end of whitespace. Two simple modifications in each the smartHome and smartEnd functions in TextArea.java would solve this. Or if not a permanent modification, maybe this could be an option in the preferences. The switch condition would change from: getInputHandler().getLastActionCount() to: getInputHandler().getLastActionCount()%2 This would make it alternate between 0 and 1. Then unaffective default case can be removed. ---------------------------------------------------------------------- >Comment By: Matthieu Casanova (kpouer) Date: 2008-02-28 10:23 Message: Logged In: YES user_id=285591 Originator: NO Hi, I think the Textarea option panel is the good place for this option ---------------------------------------------------------------------- Comment By: Matthieu Casanova (kpouer) Date: 2008-02-28 10:22 Message: Logged In: YES user_id=285591 Originator: NO Hi, I think the Textarea option panel is the good place for this option ---------------------------------------------------------------------- Comment By: Matthieu Casanova (kpouer) Date: 2008-02-28 10:21 Message: Logged In: YES user_id=285591 Originator: NO Hi, I think the Textarea option panel is the good place for this option ---------------------------------------------------------------------- Comment By: encorejane (encorejane) Date: 2008-02-25 21:53 Message: Logged In: YES user_id=1948726 Originator: YES Sorry..I've attached the patch now. I'm not sure which options pane this preference would best be placed, so I did not do that in the patch. However, the only thing different in the patch is that we would leave the "case default" there, and instead of modding by %2, we would mod by either %1 or %2 depending on the preference that's set. File Added: smart_home_end.patch ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2008-02-25 06:35 Message: Logged In: YES user_id=935841 Originator: NO Nice suggestion. Where is the patch? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300588&aid=1849205&group_id=588 |