Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5422697

Browse filesBrowse files
avoid automatic horizontal scrolling
1 parent 0ca9c45 commit 5422697
Copy full SHA for 5422697

File tree

1 file changed

+6
-0
lines changed
Filter options

1 file changed

+6
-0
lines changed

‎sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerTextPane.xtend

Copy file name to clipboardExpand all lines: sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerTextPane.xtend
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,10 @@ class RunnerTextPane extends JTextPane implements FocusListener{
5353
override focusLost(FocusEvent e) {
5454
this.caret.visible = false
5555
}
56+
57+
override setText(String t) {
58+
super.setText(t)
59+
// ensure left parts of long lines are always visible
60+
caretPosition = 0
61+
}
5662
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.