The editor provides horizontal scroll bar when the text in a line is longer. However, wrapping facility is available. This is annoying as wrapping functionality is very useful and provided in 99% editors including Notapad.
By default, JTextPane provides wrapping facility and it is disabled currently. Instead of disabling leave it user in which mode the user wants to use the editor. There can have impacts on line number calculation, go to line, syntax highlighting functionalities.
Log in to post a comment.