EditorSettings.setWrapAtRightMargin weird behavior

When I set the setWrapAtRightMargin to true the results are rather buggy:
If I join 2 lines that together would go beyond the right margin and do a
Indent line, the line is wrapped all right but part of the first line is not
accessible. Moving the cursor to the left would move to the next line about
half of the line.
If I type beyond the right margin, the cursor would still be on the line as
if the wrapping would not be turned on but the word beyond the right margin
would go to a new line... ?

Am I suppose to turn this on another way or should I file a bug report for
that? Come to think of it I could not find a way to turn that option on a
per code style basis. Will this be added?

Jacques


0
2 comments

Jacques,

That method had accidentally came to OpenAPI and yet has nothing functional
for the moment.
Yes, we have plans to enable wrapping functionality in Aurora as a part for
code style based formatting functionality.

--

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:b07mrj$ar9$1@is.intellij.net...

When I set the setWrapAtRightMargin to true the results are rather buggy:
If I join 2 lines that together would go beyond the right margin and do a
Indent line, the line is wrapped all right but part of the first line is

not

accessible. Moving the cursor to the left would move to the next line

about

half of the line.
If I type beyond the right margin, the cursor would still be on the line

as

if the wrapping would not be turned on but the word beyond the right

margin

would go to a new line... ?

>

Am I suppose to turn this on another way or should I file a bug report for
that? Come to think of it I could not find a way to turn that option on a
per code style basis. Will this be added?

>

Jacques

>
>
>


0

Maxim Shafirov wrote:

Yes, we have plans to enable wrapping functionality in Aurora as a part for
code style based formatting functionality.


Yay!

;)

Ciao,
Gordon

--
Gordon Tyler
Software Developer, R&D
Sitraka (now part of Quest Software)
"Performance is Mission Critical"

0

Please sign in to leave a comment.