-
Notifications
You must be signed in to change notification settings - Fork 299
TextBox and/or CodeEditor Multi-Directional Scrolling #170
Comments
unlurks Hello there, Instead of plumbing in horizontal scrolling into the Feel free to ask more questions. My memory is a bit hazy, and responses may be slow, but I'd still like to help if I can. Cheers. |
Sounds good. I'm working at sticking the code editor in a |
I gave the I think I'll need to fall back to my previous plan, unless I want to spend ages optimizing my |
Yeah, culling away (not rendering) lines that are not on screen is going to be extremely critical for performance when dealing with large files (e.g., a few thousand lines of text). |
I think you misunderstood me. I was suggesting using ScrollLayout.SetScrollAxis so that you continue using TextBox's vertical scrolling for virtualization, and ScrollLayout's horizontal scrolling for what you're after. |
@ben-clayton Err, right, I didn't mention things in chronological order, there. I gave that a shot, but with that solution, the |
I'm trying to figure out how I'd go about updating either the
TextBox
orCodeEditor
type to support scrolling both horizontally and vertically. So far, I'm just planning to loosely base my solution on the implementation inmixins.List
, but I thought I should request help here just in case there's a better way.My current plan:
mixins.List
orientation to remain verticalDoes that seem sane? Tagging @ben-clayton in the hopes that he can find a few minutes to answer.
The text was updated successfully, but these errors were encountered: