Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
d04ea3a7
Commit
d04ea3a7
authored
Oct 29, 2015
by
Jonathan Wilkes
Browse files
scroll to bottom when errors are posted to the Pd console
parent
01da3f62
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
d04ea3a7
...
...
@@ -265,6 +265,9 @@ function gui_post_error(objectid, loglevel, errormsg) {
var
rest
=
pd_window
.
document
.
createTextNode
(
"
:
"
+
errormsg
+
"
\n
"
);
my_p
.
appendChild
(
rest
);
var
printout
=
pd_window
.
document
.
getElementById
(
"
console_bottom
"
);
printout
.
scrollTop
=
printout
.
scrollHeight
;
// looks like tcl/tk tried to throttle this... maybe we should, too...
/*
after cancel .printout.frame.text yview end-2char
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment