Question

Is there a way to hide the text limit line in netbeans 6.5?

Was it helpful?

Solution

line is not moving to 200 column, but you can hide it setting its color to same as the background

OTHER TIPS

In NetBeans 6.9, setting Right Margin to 0 effectively hides the text limit line.
Set the value in Preferences > Editor > Formatting > All Languages > Right Margin.
(Mac OS X 10.6.4, NetBeans 6.9)

You can set it to 0. So It will not be visible.

Are you talking about the line running thru the right side, by default at the 80 column point? That is Options -> Editor -> Indentation -> Right margin. I have it set at 200 columns which pushes it off the right side of the screen.

Hi~ I found out how to hide "Text limit line" :)

  1. Tools -> Options -> Export(Popup Win) -> Browse.. (Select target "ccc.zip" file) Select Options for Export : Check at "Editor" -> OK

  2. Edit xml file "\Editors\Preferences\org-netbeans-modules-editor-settings-CustomPreferences.xml" in "ccc.zip" file.

    <entry javaType="java.lang.Boolean" name="text-limit-line-visible" xml:space="preserve">
    <value><![CDATA[false]]></value></entry>
    
  3. Tools -> Options -> Import "ccc.zip" file

Done

Remember to go to tools, options, fonts & colors, highlighting tab, text limit line selected before exporting ccp.zip....

There is an easy way to disable the warning generated by NetBeans for number of lines.

Goto Tools > Options > Editor > Hints

Find the checkbox Too Many Lines > un-check the checkbox

and click Apply.

Enjoy :)

As for now (October '18) in NetBeans 8.2 + 9 you can hide the text limit line or actually change its color by going to Options -> Fonts & Colors -> Highlighting -> Text Limit Line -> Foreground

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top