orbitalquark / textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.
https://orbitalquark.github.io/textadept
MIT License
636 stars 38 forks source link

Horizontal scrolling in textadept-curses #469

Closed jk411 closed 10 months ago

jk411 commented 11 months ago

Textadept-curses With virtual space enabled in init.ini:

buffer.virtual_space_options = buffer.VS_RECTANGULARSELECTION | buffer.VS_USERACCESSIBLE

orbitalquark commented 10 months ago

Thanks for the report. It looks like the caret does go into virtual space internally, but it is not drawn correctly. I'll look into this when I have a chance.

orbitalquark commented 10 months ago

Fixed in Scinterm: https://github.com/orbitalquark/scinterm/commit/8fef14e7ef43082ea84cc0f4f675d38f9ae80b87

Also fixed Textadept's column number reporting when inside virtual space here: https://github.com/orbitalquark/textadept/commit/43ff005bec87392ab6560b983488e43e54e3f36a and here: https://github.com/orbitalquark/textadept/commit/767e18e788a890649f763ac2000fa82e4c258841

These changes should be in the next nightly build.