pfpflwho / coffee-bytes

Automatically exported from code.google.com/p/coffee-bytes
0 stars 0 forks source link

Ad-Hoc 'Right Click' User Folded Regions #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
From:
https://sourceforge.net/tracker/index.php?func=detail&aid=1057055&group_id=11166
8&atid=673257

Quote:
"It would be nice to have simpler way of creating user
definied folding regions. For example - I would like to
select some region of text and then, after pressing
keyboard shortcut, have these start and end identifiers
added automaticly. It is some way similar to manner in
which multiline commenting acts. Opposite activity -
automatic deletion of start and end identifiers from
selected region - should also be possible.

Moreover it would be also nice to mix structure selection
(Ctrl+Shift+Up / Down) with user definied folding
regions: folding identifiers should be recognized by
structure selection as standard java-elements. In the
other words start and end identifiers shouldn't be treated
as comments but as proper elements like if-else clause or
entire method body.

Best Regards,
dLechique"

RJL: I think the general idea is that it would be nice to be able to fold
regions away when browsing code, even without the need to change it. There
is nothing to say we can't support this, at least transiently; there is
some difficulty with maintaining the fold location after editor changes are
made, however.

Original issue reported on code.google.com by rjlori...@gmail.com on 20 Oct 2006 at 9:14