Menu

#155 Enable virtual whitespace only during rectangle select

Next_Nightly
applied
scintilla (3)
Feature_Request
2016-01-30
2015-04-10
No

This feature's pretty common throughout other Scintilla editors (for instance, Geany). Adding this feature's really simple, actually; the hard part is the GUI tweak.

/src/sdk/cbeditor.cpp:1513 checks the option /selection/use_vspace; if it's set, it uses SCVS_RECTANGULARSELECTION | SCVS_USERACCESSIBLE for the virtual space selection mode. Otherwise, it uses wxSCI_SCVS_NONE. Honestly, I'd be happy if it just always used SCVS_RECTANGULARSELECTION, but I'm sure someone out there has some strange psychological dependency on the current behavior. So I'd request either a radio button or just another checkbox to offer better control over those flags.

I would add this myself, but I can't seem to get Code::Blocks bootstrapped locally. To speed this along and avoid seeming lazy, I've created a "best guess" patch which might not build. If someone's willing to test that patch for me, it's here:
http://pastebin.com/Zcn5yBLD

Much appreciated!

Discussion

  • Morten MacFly

    Morten MacFly - 2015-04-10
    • assigned_to: Morten MacFly
     
  • Morten MacFly

    Morten MacFly - 2015-04-10

    I will have a look. Thanks for the contribution!

     
  • Morten MacFly

    Morten MacFly - 2015-04-10
    • labels: --> scintilla
     
  • Morten MacFly

    Morten MacFly - 2015-04-10
    • status: open --> accepted
     
  • Josh @ Dreamland

    Awesome. Thanks!

     
  • Morten MacFly

    Morten MacFly - 2015-04-12
    • status: accepted --> applied
    • Milestone: Undefined --> Next Nightly
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.