Menu

dropSelectionN doesn't work for me

Help
Gummill
2014-12-12
2014-12-15
  • Gummill

    Gummill - 2014-12-12

    When I call editor.dropSelectionN(int) where int is lower than or equal to the number of selections, nothing happens. I don't get an error message but also nothing is deselected.

    Specifically, I want to remove the main selection out of a number of selections. This should be achievable with

    editor.dropSelectionN(editor.getMainSelection())

    as also stated here:
    http://permalink.gmane.org/gmane.comp.lib.scintilla.devel/13376

    However, dropSelectionN doesn't have any effect when I call it. Am I doing something wrong?

     
  • CFrank

    CFrank - 2014-12-14

    Hi,
    npp currently uses scintilla version 3.3.4 whereas the requested function has been introduced with version 3.3.8.

    Cheers
    Claudia

     
  • Gummill

    Gummill - 2014-12-15

    Hi, and thanks for the answer. I would not have figured that out myself.

     

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.