Wrapped lines indentation

This forum is user-to-user based and not regularly monitored by IDM.
Please see the note at the top of this page on how to contact IDM.

Wrapped lines indentation

Postby velot99 » Fri Sep 09, 2005 6:52 pm

It would be useful to have an option so UE indents wrapped part of a line with an offset indentation relatively to the line start position.

-- So this view: --
Code: Select all
while(blah) {
   line1;
   line2 line2 line2 line2
wrapped line2 wrapped line2
wrapped line2 wrapped line2;
   line3;
}


-- could be turned into this: --
Code: Select all
while(blah) {
   line1;
   line2 line2 line2 line2
     wrapped line2 wrapped line2
     wrapped line2 wrapped line2;
   line3;
}

-- or, at least, into this: --
Code: Select all
while(blah) {
   line1;
   line2 line2 line2 line2
   wrapped line2 wrapped line2
   wrapped line2 wrapped line2;
   line3;
}


KDE K-Write does that. Don't see why would UE lack this very artfully feature.

I actually requested the developer to implement this back in 2002-11-05, but I was told this is not planned to be implemented due to the fact that there is a lot of different languages involved.

I don't really see how it is dependant on the languages if there can be global configuration parameters that would specify if the user would like to have the wrapped line remainder to be indented relatively to the line start position and how many characters this offset should be.

I am posting this here because I am wondering how many people out there would like that feature.

Thanks
velot99
 

Re: Wrapped lines indentation

Postby firstsecond » Sun Sep 11, 2005 8:52 pm

I came to the forum to look for how to do this... this feature really really should be included!!!!!!!!!!!!!!!!!!!!!!
firstsecond
 

Re: Wrapped lines indentation

Postby jdfagan » Fri Jan 06, 2006 5:53 pm

/bump

I also think this would be an elegant polishing touch to the wrap lines feature.
User avatar
jdfagan
Newbie
 
Posts: 2
Joined: Thu Dec 08, 2005 12:00 am

Re: Wrapped lines indentation

Postby mgorbach » Wed Feb 22, 2006 5:45 am

I would like something like this too ...
actually, what i want is something like the brilliant indenting in jedit where if you press enter on a line where there is an unclosed ( or {, it will understand that this is a continuation of the line before it and indent it

Code: Select all
MPI_Buffer_attach(malloc(sizeof(int) * m * n), sizeof(int) * m * n + vlong
         lineconinue - hello);
{
   bla;
   bla;
   bla;
}
User avatar
mgorbach
Newbie
 
Posts: 5
Joined: Tue Feb 21, 2006 12:00 am

Re: Wrapped lines indentation

Postby jhartmann » Sun Jul 30, 2006 9:03 pm

without this, visually (auto-)wrapping structured text/code is useless. that means: UE is useless for editing structured text or code with long lines (i have only such code/text notes).
User avatar
jhartmann
Newbie
 
Posts: 1
Joined: Thu Jul 27, 2006 11:00 pm


Return to UEStudio General Discussion