I think a horizontal bar is necessary so that when the code is very wide it can be moved horizontally comfortably.
I mention this because when creating the scenarios in the platform game that I am making, the scenario is a list and I have not been able to make it very long because I had to move with the keyboard arrows from left to right and when I reached the end I returned to the beginning.
And it was very tiresome to have to move around with the keys again.
(02-17-2024, 04:05 PM)aliensoldier Wrote: [ -> ]I think a horizontal bar is necessary so that when the code is very wide it can be moved horizontally comfortably.
I mention this because when creating the scenarios in the platform game that I am making, the scenario is a list and I have not been able to make it very long because I had to move with the keyboard arrows from left to right and when I reached the end I returned to the beginning.
And it was very tiresome to have to move around with the keys again.
I will see what I can do. It has been a long time since I modified the code in ngui.n7

(02-19-2024, 05:39 AM)Marcus Wrote: [ -> ] (02-17-2024, 04:05 PM)aliensoldier Wrote: [ -> ]I think a horizontal bar is necessary so that when the code is very wide it can be moved horizontally comfortably.
I mention this because when creating the scenarios in the platform game that I am making, the scenario is a list and I have not been able to make it very long because I had to move with the keyboard arrows from left to right and when I reached the end I returned to the beginning.
And it was very tiresome to have to move around with the keys again.
I will see what I can do. It has been a long time since I modified the code in ngui.n7 
Have you made any progress?

Nah, sorry, I forgot about it. So I can just repeat that I'll see what I can do. It's actually kind of a difficult thing to implement, I think, because it needs to keep track of the longest line in the document.
(09-29-2024, 07:38 PM)Marcus Wrote: [ -> ]
Nah, sorry, I forgot about it. So I can just repeat that I'll see what I can do. It's actually kind of a difficult thing to implement, I think, because it needs to keep track of the longest line in the document.
I hope you get it someday, because it's a bit awkward to move with the cursors, but thanks anyway.

(07-01-2026, 04:18 PM)Nelson Wrote: [ -> ]Something like this?
Ya
Is the scrollbar size fixed and represent X columns in total? The problem that prevented me from adding a horizontal scrollbar was to keep track of the length of the longest line in the document and adjust the scrollbar properties from that.
It is computed proportionally from visible columns vs total columns. The longer the line the smaller it gets.
(07-01-2026, 04:47 PM)Nelson Wrote: [ -> ]It is computed proportionally from visible columns vs total columns. The longer the line the smaller it gets.
Nice! Can you pm me the modified ngui file (or just the TextEditor function) so that I can have a look at it? I've removed som bugs in ngui lately, so need to merge the changes
I've seen editors where the horizontal scrollbar just represents, let's say 4 "screens" of text, and that was pretty much what I had planned implementing.