Comments (6)
What I did was the following:
- If a file is present in the Secondary View, and the Secondary View is active, the double-click activates the file in the Secondary View.
- If a file is present only in the Secondary View, and the Primary View is active, the double-click activates the file in the Secondary View (because there's no such file in the Primary View). This corresponds to the default behavior of Notepad++.
- If a file is not present neither in the Primary nor in the Secondary View, the file is opened in the Primary View. This is the default behavior of Notepad++.
from nppexec.
In the meanwhile another temporary option could be this one: when browsing for errors in the NppExec console, the code navigation should occur in the focused view.
At the moment the behaviour is as follows:
- I activate view A.
- I execute a NppExec command.
- I activate view B.
- I navigate through NppExec console errors.
- View A is updated pointing to the error's line.
It would be nice to add an option so that the currently active view gets updated instead, and not the one on which the NppExec command was executed at first.
from nppexec.
Please try the latest sources from
https://github.com/d0vgan/nppexec/tree/develop
from nppexec.
Hello, which one did you implement among the suggestions I reported above?
Anyway, I'm encountering some issues while testing your modification. My first setup is as follows:
- ConsoleA active.
- ShortcutA to navigate ConsoleA errors.
- Only one view active (the primary one).
I activate ShortcutA, and error navigation occurs in the only active view. Should I expect the secondary view to open instead (my first post)?
The second test setup is as follows:
- ConsoleA active.
- ConsoleB active.
- ShortcutA to navigate ConsoleA errors.
- ShortcutB to navigate ConsoleB errors.
- Primary and secondary views active.
- I execute a ConsoleA command with the primary view active.
- I activate focus on the secondary view.
- I execute ShortcutA.
- Error navigation occurs on the primary view.
Should I expect error navigation to occur on the secondary view (which was the active one), according to the suggestion in my second post?
Thanks again.
from nppexec.
I forgot one detail, during the tests the documents that may be opened through the error navigation, were already all loaded in the Notepad++ session.
So, could this simply mean that for each item on the error list of the console, the view hosting the already opened document was automatically displayed? Which of course could be the primary or secondary view...
from nppexec.
Ok thanks for the explanation, so I wonder what was the previous behaviour of your plugin in the three situations you listed.
Also, I would like to ask if with Notepad++ there is the chance to display the same file on both views.
from nppexec.
Related Issues (20)
- Notepad++ v8.4 and beyond (inclusive 8.4.2) CRASHES or doesn't work properly when applying a color on selected text using NppExec. HOT 9
- Techniques to restore cursor position within Notepad++ file HOT 2
- SCI_REPLACE has problem matching the beginning of line HOT 6
- Changing N++ themes results in error HOT 4
- Please add support for theme. I am using version 0.8.2 and the console is white. HOT 1
- Ipython does not have auto-indentation and colour for keywords. The same things work fine in normal command prompt. HOT 5
- encoding characters error HOT 2
- CAnyRichEdit::AddStr() is very slow and should be optimized HOT 1
- Search index for online version of NppExec Manual HOT 14
- How to clean HOT 1
- How to clean up/delete the list saved in F6 HOT 1
- [HTML docs] External links are not navigable HOT 4
- There is something wrong with the console output encoding. HOT 2
- How to get current dir name only (not full path) HOT 2
- License? HOT 4
- XBrackets release accidentally added to this repo? HOT 2
- Double clicking line in console output jumps to the first tab ocurrence if you have multiple tabs open with different files of the same name HOT 4
- im trying to compile a qc file and its saying : ERROR:bad or missing options HOT 1
- Issues getting NppExec console to work with Python's getpass module or third party pwinput module HOT 2
- Notepad++ dev build NPP_OPEN fails HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nppexec.