How Can I Remove Vertical Scrollbar using LuaScript?



  • I have the LuaScript plugin installed and am trying to set VScrollbar to false. How do I go about writing this in Lua?

    (Reason for asking is that I’m trying to only show the Document Map… and I’m pretty weak in programming.)



  • Hello, @hced and All,

    Welcome to the Notepad++ Community !

    Very simply, indeed !

    • Open the Lua console ( Plugins > LuaScript > Show Console

    • Inside the bottom line, type the command :

    editor.VScrollBar = false with that exact case

    Either, hit the Enter key or click on the Run button

    Here we are !

    Best Regards,

    guy038


Log in to reply