News:

Let's find out together what makes a PIC Tick!

Main Menu

Positron Studio Update

Started by JohnB, Jul 29, 2021, 08:11 AM

Previous topic - Next topic

Sommi

Another question: There are messages like "*** variable dummy is declared but never used! ***" even though the varable is used in the code.
KISS - keep it simple and stupid

JohnB

@Sommi I am hoping I have cleared the incorrectly reported unused variables in the forthcoming release.
JohnB

John Lawton

Hi John,

as I hear there is a forthcoming update, could you check the operation of the Search function please?

It is a real annoyance to find that the text to be searched for changes when I change between the various document tabs I have open. Yes, I know that there is a drop down list (of remembered searches) but it only ever has one item on it.

The text to be searched for shouldn't change when switching tabs as that kills it's usefulness.

I have to resort to copying the text I am searching for the clipboard so I can paste it into the search box in case the contents change.

Maybe there is a problem with my install, it has been in place for some time, with many updates?

Best regards,

John

JohnB

I'll take a look at the code, it should add the search text to the dropdown each time a new search term is added so you should see a list of more than 2 items if you have been doing lots of searches.
I find it useful to have such a list but I understand you issues.  How about the last search term remaining as the search text if no item has been highlight on entering a different document?
JohnB

John Lawton

Hi John,

after a fresh program start, I search for some text and move between a number of documents till I find it.

If I then go to (say) the last document and change the search term and do a second search, then if I change back through the other documents then at some point it will revert to the first search term.

However the drop down box only ever has ONE item in it, so isn't any use.

I had assumed that this is not what was intended, and I sort of remember it behaving differently in the past, so wondered whether my install has a fault.

Regards,

John



JohnB

Go to Tools, Options, Misc, Check Keep Search List.  You should see each search item appearing in the drop down.
JohnB

JohnB

I have modified search now so that when moving to another page, if nothing is selected the last search item will remain in the Find Text drop down.
JohnB

John Lawton

Thanks John, sorry I had missed the options settings.

I have noticed that search misses items before the cursor position despite "Wrap Round" (and "Down") being ticked, i.e. if the cursor is after the item being searched for it never finds it.

As a workaround I have to always click near the top of each file before clicking the "Find" button to be sure it'll find what I'm searching for.

I've compared this with the search function in Notepad++ and that works as expected.

Best regards,

John

JohnB

#108
OK John, I'll look. not noticed that before.

edit
Just tried it and I cannot replicate the problem here.  I normally use start from Start of Document but even when I select Start from Cursor it seems to start from the start of the document.
I'll look at why the search isn't starting from the cursor position but unless  you can give me a  precise step by step of what you did I cannot see anything wrong with the way its working.
JohnB

John Lawton

Hi John,

I don't know what's changed but now it's working as wanted/expected but I'm sure the "Start Search from" was set to the "Start of Document" before... LOL

John

JohnB

Version 2.0.2.15 is now available.  Mostly bug fixes and minor improvements.
Download it from Positron Studio website
See What's New for details.
JohnB

John Lawton

Hi john,

that link downloads the file directly, not requiring a website login.

John

JohnB

I know, I have had flack from Les for not making it more open.
JohnB

Oskar-svr

#113
Thank you very much friend for the update, greetings :)
I have a program with 2532 programming lines and everything is correct, thanks

Sommi

Hello!

Since the latest upgrade the code explorer won't stay open, can I change this in some settings?

Kind regards, Sommi
KISS - keep it simple and stupid

John Lawton

There's a "pin" (open) symbol in the top bar of the code explorer window.

Sommi

@ John Lawton

Thanx! It's the tiny things that matter :)
KISS - keep it simple and stupid

joesaliba

JohnB,

If I have an .inc open, change something, and try to compile, the compiler will ask if I want to save .inc.

What I am confused about is, if I hit `Cancel', operation to compile should stop? Because if I hit `Cancel' it seems that file is being saved anyway, and continue with compiling.

Thank you

Joe

JohnB

Hi Joe,
I'll take a look at it and if its a problem will include fix in next release.
JohnB

kcsl

Hi John,

Just a suggestion for some point in the future. I notice that the IDE bolds procedure names (which is great). How about if you double-click on a bolded procedure name or click and press a key combination; SHIFT+F2 for example, the IDE jumps you to that procedure ?

Just a thought.

Regards,
Joe
There's no room for optimism in software or hardware engineering.