From: SourceForge.net <no...@so...> - 2010-09-14 09:57:39
|
Bugs item #3062072, was opened at 2010-09-08 19:26 Message generated for change (Comment added) made by kpouer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=3062072&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: editor core Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Jesse Pavel (jpavel) Assigned to: Matthieu Casanova (kpouer) Summary: TextArea.selectBlock() doesn't work if block starts at pos 0 Initial Comment: This is with the latest stable, v4.3.2 TextArea.selectBlock() (normally mapped to Ctrl+OPEN_BRACKET) doesn't work if the bracket opening the block is at position 0 in the buffer. On line 1577 in the 4.3.2 source TextArea.java, we have the line backward_scan: while(--start > 0) and so, if start happens to be at 0, it is rejected as a failure to find an opening bracket. The line should be backward_scan: while(--start >= 0) ---------------------------------------------------------------------- >Comment By: Matthieu Casanova (kpouer) Date: 2010-09-14 11:57 Message: Thanks it works, it is fixed in trunk rev 18558 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=3062072&group_id=588 |