Bug #11707 2007-08-05 12:17

pavzav

Folding with comments

When folding (e.g. function), fold comments before and blank lines after block too

Category
Application::Editor
Group
 
Status
Closed
Close date
2007-08-10 09:41
Assigned to
 
biplab 2007-08-05 14:51

Please explain this with an example.

pavzav 2007-08-05 16:25

example function (unfolded):

/ /*********************/

| /* comments for function...

| ....

| .... */

+ void example_function() {

| function code

| function code

| function code

|}

\

/ /************... next function

Chars in first column of example code means:

/ begin of folding

| folding

+ folding '+' icon

\ end of folding

When I fold function block in { }, hide comments before this function and blank lines after it (before next function). But in folded line show the header of function (not begin of comments). Example function (folded):

- void example_function() {

- void next_function() {

Same with classes...

biplab 2007-08-10 09:41

Submit it in Feature request section with the example.