diff --git a/pd/nw/css/c64.css b/pd/nw/css/c64.css index 763fbe9817bef7dc0a1feef66d06df4e67702df6..62ee48db47eae3a0c9aeead7abaa9620b1ae8a24 100644 --- a/pd/nw/css/c64.css +++ b/pd/nw/css/c64.css @@ -167,7 +167,7 @@ mark.console_find_highlighted { color: #a49aea; /* text color */ background-color: transparent; white-space: pre; - word-wrap: break-word; + overflow-wrap: break-word; -webkit-margin-before: 0px; } diff --git a/pd/nw/css/default.css b/pd/nw/css/default.css index 3f8dcba7430dfa9ad3684a51a6783c67fab8e70c..5eb65aba7b4e7122ab7f8c7fff1849be8f0d4d7f 100644 --- a/pd/nw/css/default.css +++ b/pd/nw/css/default.css @@ -267,7 +267,7 @@ mark.console_find_highlighted { color: black; /* text color */ background-color: transparent; white-space: pre; - word-wrap: break-word; + overflow-wrap: break-word; -webkit-margin-before: 0px; } diff --git a/pd/nw/css/extended.css b/pd/nw/css/extended.css index 39ee722f81c508819d0f1aa5dde9aff97b58143a..13b0b6cf1563d315255c4cfe20cceef4045faf28 100644 --- a/pd/nw/css/extended.css +++ b/pd/nw/css/extended.css @@ -160,7 +160,7 @@ mark.console_find_highlighted { /* box-shadow: inset 1px 0px 0px 1px #000; */ background-color: transparent; white-space: pre; - word-wrap: break-word; + overflow-wrap: break-word; -webkit-margin-before: 0px; } diff --git a/pd/nw/css/inverted.css b/pd/nw/css/inverted.css index bff32c25d587f24aa46aaf4f54758a8eb0db5468..f604cfce8707a4059594ce80d9949748707b8978 100644 --- a/pd/nw/css/inverted.css +++ b/pd/nw/css/inverted.css @@ -179,7 +179,7 @@ mark.console_find_highlighted { color: white; /* text color */ background-color: transparent; white-space: pre; - word-wrap: break-word; + overflow-wrap: break-word; -webkit-margin-before: 0px; } diff --git a/pd/nw/css/strongbad.css b/pd/nw/css/strongbad.css index 0e54235ffdc5ac7a357454ad9ea316be462f1680..faa38b7282718944d4cddd1d105d6dd05703c14a 100644 --- a/pd/nw/css/strongbad.css +++ b/pd/nw/css/strongbad.css @@ -169,7 +169,7 @@ mark.console_find_highlighted { color: #4bd046; background-color: transparent; white-space: pre; - word-wrap: break-word; + overflow-wrap: break-word; -webkit-margin-before: 0px; } diff --git a/pd/nw/css/subdued.css b/pd/nw/css/subdued.css index f6b94722584401a2410b33b9fee8ed94722d6a7f..c6361b71e4a3a9b2f06fe431279a4377704bdf9b 100644 --- a/pd/nw/css/subdued.css +++ b/pd/nw/css/subdued.css @@ -168,7 +168,7 @@ mark.console_find_highlighted { /* box-shadow: inset 1px 0px 0px 1px #000; */ background-color: transparent; white-space: pre; - word-wrap: break-word; + overflow-wrap: break-word; -webkit-margin-before: 0px; } diff --git a/pd/nw/css/vanilla.css b/pd/nw/css/vanilla.css index 4669167b0dcfef2cf604ddb1af8ddb40367c6c67..face35d82de2b5045618b1743724011f9a8e8923 100644 --- a/pd/nw/css/vanilla.css +++ b/pd/nw/css/vanilla.css @@ -162,7 +162,7 @@ mark.console_find_highlighted { /* box-shadow: inset 1px 0px 0px 1px #000; */ background-color: transparent; white-space: pre; - word-wrap: break-word; + overflow-wrap: break-word; -webkit-margin-before: 0px; } diff --git a/pd/nw/css/vanilla_inverted.css b/pd/nw/css/vanilla_inverted.css index 8ae6cbaef3478a8586e3c3f54ca64652e00939cb..197b5c86b3b3ba9fe59b22fadbcebe8ad9903232 100644 --- a/pd/nw/css/vanilla_inverted.css +++ b/pd/nw/css/vanilla_inverted.css @@ -173,7 +173,7 @@ mark.console_find_highlighted { color: white; /* text color */ background-color: transparent; white-space: pre; - word-wrap: break-word; + overflow-wrap: break-word; -webkit-margin-before: 0px; } diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js index b3b9da0c052fa5bc1141991c68b53354ae8824c3..27f3d180f6e835f0641bd33463df70f6dc0ad7d5 100644 --- a/pd/nw/pdgui.js +++ b/pd/nw/pdgui.js @@ -3556,8 +3556,7 @@ function gui_textarea(cid, tag, type, x, y, width_spec, height_spec, text, text_line_height_kludge(font_size, "pd") + "px"); p.style.setProperty("transform", "translate(0px, 0px)"); p.style.setProperty("max-width", - width_spec === 0 || is_gop == 0 ? "60ch" : - width_spec + "ch"); + width_spec !== 0 ? width_spec + "ch" : "60ch"); p.style.setProperty("min-width", width_spec <= 0 ? "3ch" : (is_gop == 1 ? width_spec + "px" :