Sign in to follow this  
Followers 0
Iczer

String lengh and scrollbar in SciTE

4 posts in this topic

How i can make horizontal scrollbar in SciTE *always* scroll to the length of the longest string in current script? Even if only one string in script is way longer than SciTE window can show on the screen and cursor currently not on that string.

Share this post


Link to post
Share on other sites



The scrollbar currently adapts to what is shown in the window when you use the Full version. This is done in one of the LUA scripts.
I am not aware of any setting to make this happen so you would need to adapt that LUA function when you want to change the scrollbar to the maximum line length for that script.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

its AutoHScroll.lua?

Share this post


Link to post
Share on other sites

--------------------------------------------------------------------------------
-- This library automatically sizes the horizontal scrollbar for the editor and
-- output panes based on the longest line currently visible.
--------------------------------------------------------------------------------

What do you think?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0