• Login
Community
  • Login

Plugin Feature needed

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
21 Posts 8 Posters 2.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    dinkumoil @Bruno BOBICHON
    last edited by dinkumoil May 29, 2019, 7:59 AM May 29, 2019, 7:59 AM

    @Bruno-BOBICHON

    I know that my suggestion is only a workaround. I provided it since you can not expect that this feature gets implemented in Notepad++ in the near future (if it will be ever).

    But if you want you can file a feature request. >>> Learn here <<< how to do that.

    1 Reply Last reply Reply Quote 0
    • B
      Bruno BOBICHON
      last edited by May 29, 2019, 8:30 AM

      I’ve found this morning a plugin including with this functionality but not matching in totality the behavior i excpect, it’s ‘jn-npp-plugin’

      The scroll bar is enhanced when a text is highlighted, but the scroll bar represent only the part of code visible at the screen.
      but it’s may be a good point of start…

      But i’ll ask for a feature request .

      M 1 Reply Last reply May 29, 2019, 8:42 AM Reply Quote 4
      • M
        Meta Chuh moderator @Bruno BOBICHON
        last edited by May 29, 2019, 8:42 AM

        @Bruno-BOBICHON

        the chances of getting this feature implemented is higher, if you file a request to a plugin developer.
        we are currently on hold to implement new features at the notepad++ core itself.
        we are focusing on improving existing features and stability, and there’s much to do at the moment.

        many thanks and best regards.

        1 Reply Last reply Reply Quote 2
        • S
          Scott Larson @Bruno BOBICHON
          last edited by Mar 15, 2022, 10:48 PM

          @bruno-bobichon said in Plugin Feature needed:

          Hi,

          I’m looking for a ‘search / research’ plugin feature, showing searching result in the vertical scroll bar of the document.
          When i’m searching for an exprssion into a doc, expression found are highligted, but we are obliged to scroll all the document to quickly see where expression is used.
          On certain IDE, results are shown in the scroll bar too, represented by colored lines and as the scroll bar represent the complete document, it’s quick and easy to identify where expressions are used.

          Is a such plugin already exists ? and if not , will it be possilb eto devleopp it ?

          Many thanks

          I would also love this feature.

          E 1 Reply Last reply Mar 16, 2022, 10:42 AM Reply Quote 0
          • E
            Ekopalypse @Scott Larson
            last edited by Mar 16, 2022, 10:42 AM

            @scott-larson

            Can you point to an IDE that does what is discussed here?
            Perhaps you could post a screenshot showing this action?

            A 1 Reply Last reply Mar 16, 2022, 11:09 AM Reply Quote 0
            • A
              Alan Kilborn @Ekopalypse
              last edited by Mar 16, 2022, 11:09 AM

              @ekopalypse said in Plugin Feature needed:

              Can you point to an IDE that does what is discussed here?
              Perhaps you could post a screenshot showing this action?

              How about Visual Studio IDE?:

              4852c476-d364-4275-8700-518b77c0dcfb-image.png

              E 1 Reply Last reply Mar 16, 2022, 1:18 PM Reply Quote 1
              • E
                Ekopalypse @Alan Kilborn
                last edited by Mar 16, 2022, 1:18 PM

                @alan-kilborn

                Aahh I see :-)
                I had understood it to mean that the RESULT is displayed in a scroll bar, not just a marker pointing to the line with the result highlighted :-)
                Interesting … the click position in a margin is usually tied to the row … that would require some maths to calculate the actual position with the clicked position … hmm …

                D 1 Reply Last reply Mar 16, 2022, 1:31 PM Reply Quote 2
                • A
                  Alan Kilborn
                  last edited by Mar 16, 2022, 1:30 PM

                  BTW, as an afterthought, I really have no idea what ALL of the different colors in the VS IDE scrollbar actually are.

                  I think maybe what my screenshot shows with the light green is a “smart highlighting” feature, and the orange color is the actual search data? Not sure…

                  E 1 Reply Last reply Mar 16, 2022, 1:36 PM Reply Quote 2
                  • D
                    dail @Ekopalypse
                    last edited by Mar 16, 2022, 1:31 PM

                    @ekopalypse said in Plugin Feature needed:

                    that would require some maths to calculate the actual position with the clicked position

                    The math part isn’t not too bad actually. Just translate a line number into a Y position. For example:

                    https://github.com/dail8859/NotepadNext/blob/3268c8e76f99af6a983ac2f202c712529248ec34/src/NotepadNext/decorators/HighlightedScrollBar.cpp#L120-L129

                    I don’t know how to do this with Win32 scrollbars but in theory should be possible.

                    E 1 Reply Last reply Mar 16, 2022, 1:34 PM Reply Quote 3
                    • E
                      Ekopalypse @dail
                      last edited by Mar 16, 2022, 1:34 PM

                      @dail

                      cool thx, makes it easier to play with :-) I haven’t done anything with scrollbars yet either, to be honest I usually disable them :-)

                      1 Reply Last reply Reply Quote 0
                      • E
                        Ekopalypse @Alan Kilborn
                        last edited by Mar 16, 2022, 1:36 PM

                        @alan-kilborn said in Plugin Feature needed:

                        VS IDE

                        Well … You know my relationship with VS IDE … don’t you :-D

                        1 Reply Last reply Reply Quote 1
                        • A
                          Alan Kilborn
                          last edited by Mar 16, 2022, 1:38 PM

                          This feature would be kind of cool, but wouldn’t it potentially cause performance problems because on a Find Next it would have to find all occurrences in a possibly huge file?

                          The same possibility presents itself for a “Found X of Y” feature, as mentioned HERE.

                          It seems like with the recent addition of better huge file support, some of Notepad++'s features need to be restricted (i.e., turned off) if the user is currently in such a file.

                          E 1 Reply Last reply Mar 16, 2022, 1:44 PM Reply Quote 2
                          • E
                            Ekopalypse @Alan Kilborn
                            last edited by Mar 16, 2022, 1:44 PM

                            It would if it was running on the main thread, but I suppose it could also run in the background on another thread or asynchronously.

                            A 1 Reply Last reply Mar 16, 2022, 1:51 PM Reply Quote 0
                            • A
                              Alan Kilborn @Ekopalypse
                              last edited by Mar 16, 2022, 1:51 PM

                              @ekopalypse said in Plugin Feature needed:

                              if it was running on the main thread

                              I thought Notepad++ was single-threaded, mainly because, until quite recently, Scintilla was not multi-thread capable? (I could be wrong about some/all of this). Of course, things can be changed (beauty of s/w).

                              E D 2 Replies Last reply Mar 16, 2022, 2:11 PM Reply Quote 0
                              • E
                                Ekopalypse @Alan Kilborn
                                last edited by Mar 16, 2022, 2:11 PM

                                @alan-kilborn

                                yes, but as long as you don’t change anything from the Scinitilla/Notepad++ point of view, you can use another thread to make it do some work.

                                1 Reply Last reply Reply Quote 2
                                • D
                                  dail @Alan Kilborn
                                  last edited by Mar 16, 2022, 8:10 PM

                                  @alan-kilborn said in Plugin Feature needed:

                                  until quite recently, Scintilla was not multi-thread capable

                                  Only multi-threaded in regards to computing line lengths for rendering the document. It is not meant to be accessed by multiple threads simultaneously.

                                  @ekopalypse said in Plugin Feature needed:

                                  don’t change anything from the Scinitilla/Notepad++ point of view

                                  Even searching though a document with a background thread and then the main thread editing the document could lead to very bad scenarios. This is even more likely if the document is large and the search term occurs infrequently.

                                  PythonScript has proven multi-threaded access is not generally a good idea when it comes to Scintilla.

                                  E 1 Reply Last reply Mar 17, 2022, 10:37 AM Reply Quote 3
                                  • E
                                    Ekopalypse @dail
                                    last edited by Mar 17, 2022, 10:37 AM

                                    @dail

                                    In general I agree, but in this particular case, which is all about search, I can’t see a race condition.
                                    But keep in mind, that I am a overconfident hobby programmer who may not see the big picture :-).

                                    1 Reply Last reply Reply Quote 1
                                    • Janis OgoliJ
                                      Janis Ogoli
                                      last edited by Mar 25, 2024, 7:04 PM

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote -1
                                      • First post
                                        Last post
                                      The Community of users of the Notepad++ text editor.
                                      Powered by NodeBB | Contributors