Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • J

      Perl keywords "class" and "method" not recognised by Function List

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      11
      0 Votes
      11 Posts
      391 Views
      PeterJonesP

      @JohnL22 ,

      … but since it’s essentially working for you, I have taken that as confirmation that the new perl.xml is an improvement, so it’s in a Pull Request now… hopefully, it will get merged for the v8.9.1 release candidate coming next week.

    • guy038G

      Macro problem

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      140 Views
      mpheathM

      @guy038

      https://www.scintilla.org/ScintillaDoc.html#SCI_COPY

      copying data to the clipboard

      Is document to the clipboard.

      https://www.scintilla.org/ScintillaDoc.html#SCI_PASTE

      pasting from the clipboard into the document

      Is clipboard to the document.

      Both functions relate to the document in the editor. The copy function will be good for the task though paste will not work with the search window.

      Instead of SCI_PASTE, could use the Run command to run an executable to insert the clipboard text into the search window.

      AutoIt3 script automate_columns++_search.au3 :

      ; Wait up to 3 seconds for the window. $hSearch = WinWait('Search in indicated region', '', 3) If $hSearch Then $sClip = ClipGet() ; get clipboard text ControlSetText($hSearch, '', 'Edit1', $sClip) ; set combo edit ControlClick($hSearch, '', 'Button7') ; click regex button ControlClick($hSearch, '', 'Button9') ; click count button $sCount = ControlGetText($hSearch, '', 'Static3') ; read label ClipPut($sCount) ; set clipboard text EndIf

      Adjust the title if the window text is localized.

      Compile to executable and then add to Run as a command. Get the command id with NppUISpy and insert into the shortcuts.xml file.