ymacs icon indicating copy to clipboard operation
ymacs copied to clipboard

scrollbar sending messages to editor

Open jots opened this issue 13 years ago • 0 comments

I changed ymacs.css to have: .Ymacs-frame-overlays { overflow: auto; /* hidden */ position: relative; }

So now I have scrollbars when they're needed (i also removed the 1000px padding at the bottom): .Ymacs-frame-content { white-space: pre; /* padding-bottom: 1000px; */ }

not sure why that is there, hopefully it's not required for something.

Now the mouse scrollwheel works and I can scroll by sliding the scrollbar. The only problem is that when I scroll with the scrollbar, the cursor gets moved to the line that corresponds to where I click on the scrollbar, and text starts to be selected as I scroll up and down, also errors appear in my console like: Uncaught RangeError: Maximum call stack size exceeded a._genericEventHandlerthelib.js:12 thelib.js:12Uncaught TypeError: Property '0' of object is not a function

So how can I make it so that when i use the scrollbar, the events don't go into the editor, just scroll like normal?

Also, where can i get the latest uncompressed source for thelib.js? I see that the version at http://www.dynarchlib.com/download is older than the one that comes with ymacs.

jots avatar May 17 '11 20:05 jots