SourceForge has been redesigned. Learn more.
Close

#23 Right hand margin in editor

v1.0
closed-fixed
9
2010-02-25
2009-12-29
No

Often developers have a requirement to restrict line size in source code.
A configuration parameter (usually the value is 80) can be introduced to for user input value and a right margin would be displayed in editor so that user can easily control the line size.

The facility is available in NetBeans.

Discussion

  • Mrityunjoy Saha

    Mrityunjoy Saha - 2010-02-25
    • status: open --> closed-fixed
     
  • Mrityunjoy Saha

    Mrityunjoy Saha - 2010-02-25

    Two user controlled new configuration parameters are introduced in Generic section:
    right-margin=80
    right-margin-color=255-204-255
    The corresponding builder and updater classes of GenericSectionConfiguration are changed.
    Following method is added to actually draw the margin:
    org.apex.base.component.TextEditor#paintComponent(Graphics g)

     

Log in to post a comment.