Skip to content

Commit f7f3ded

Browse files
committed
rename console lines pref to avoid name collision (fixes #5110)
1 parent a2b1c2f commit f7f3ded

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

app/src/processing/app/ui/EditorConsole.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public class EditorConsole extends JScrollPane {
6969
public EditorConsole(Editor editor) {
7070
this.editor = editor;
7171

72-
maxLineCount = Preferences.getInteger("console.lines");
73-
maxCharCount = Preferences.getInteger("console.chars");
72+
maxLineCount = Preferences.getInteger("console.scrollback.lines");
73+
maxCharCount = Preferences.getInteger("console.scrollback.chars");
7474

7575
consoleDoc = new BufferedStyledDocument(10000, maxLineCount, maxCharCount);
7676
consoleTextPane = new JTextPane(consoleDoc);

build/shared/lib/defaults.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ console.auto_clear = true
182182

183183
# set the maximum number of lines remembered by the console
184184
# the default is 500, lengthen at your own peril
185-
console.lines = 500
186-
console.chars = 40000
185+
console.scrollback.lines = 500
186+
console.scrollback.chars = 40000
187187

188188
# Any additional Java options when running.
189189
# If you change this and can't run things, it's your own durn fault.

todo.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ _ https://github.com/processing/processing/issues/5111
1010
_ display=-1 regression? ("could not parse" message)
1111
_ https://github.com/processing/processing/issues/5118
1212

13+
_ detect errors from curved quotation marks
14+
_ https://github.com/processing/processing/issues/5133
15+
1316
contrib
1417
_ console hiding button?
1518
_ https://github.com/processing/processing/pull/5115

0 commit comments

Comments
 (0)