javalover520 / jsyntaxpane

Automatically exported from code.google.com/p/jsyntaxpane
0 stars 0 forks source link

SyntaxTester does not maintain state when switching between languages via the language combo box #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run SyntaxTester
2. Enter enough text so that a scroll bar appears
3. Place the cursor in the middle of the buffer, such the the scroll bar is in 
the middle of the 
scroll bar track
4. Change the language
5. Observe that the text component scrolls to the bottom and the cursor is 
placed there.

What is the expected output? What do you see instead?
No movement of the cursor or currently visible rectangle should be changed.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by kenneth....@gmail.com on 10 Aug 2008 at 8:47

GoogleCodeExporter commented 8 years ago

Original comment by kenneth....@gmail.com on 10 Aug 2008 at 10:48

GoogleCodeExporter commented 8 years ago
Updated SyntaxTester to save and restore state when language is changed.

Original comment by kenneth....@gmail.com on 11 Aug 2008 at 5:08