News:

;) This forum is the property of Proton software developers

Main Menu

Positron Studio Update

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

Previous topic - Next topic

JohnB

Double Clicking would select the word and I don't think I should change that because its standard editor behaviour.  I will see if I can fit it into the Context menu so you can access it from a right click.  Probably need to do it in conjunction with Tim Box's suggestion of popping up a Constant value or variable type.

One thought, as its possible to show the current page split to a second window, I could scroll this second window to the declaration of the highlighted token in the main editing window.  Token being either the Variable, Constant, Procedure or Subroutine.  What are your views?
JohnB

kcsl

Actually John, that might be nicer than my original idea.

Usually I just want to refresh my memory of what a procedure is doing or quickly check some detail within.
Your way wouldn't interrupt the coding train of thought. I like it.

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

JohnB

One problem with this approach is when the procedure is in a different bas or inc file.  The split window only works on the current page.

I have been thinking about a back function, i.e. if you have navigated to a location, choosing Back would return to your previous location.
This could apply to any action which navigates away from the current position, e.g. GoTo Line number, double clicking from the explorer. 
Not sure how I would implement it yet but there have been a number of times when I wish I had Back function when editing a large file.
JohnB

kcsl

John,

I've been running studio all day, editing and assembling with no problems, went to exit and it threw the attached error.
Image1.jpg

After this had to nip into Taskmanager to kill off the .EXE

Not seen it before... The only thing I can think I've been doing perhaps differently is opening the Proton help PDF and searching it for info. Don't usually use that feature.

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

JohnB

Clicking OK should have just closed the program.  I trust you didn't loose any work.
I cannot suggest what has caused this and its nearly impossible to diagnose anything from  the report.

Let me know if it happens again please
JohnB

joesaliba

John,

This is an old problem that seems to be resurfaced. I am unable to use the backup system.

Zipped backup produced only have `ZipInfo.txt', and cannot locate other backed up files, even through the IDE.

Using latest release.

Regards

Joe

JohnB

@joesaliba How are you looking at the files, are you viewing them from Windows Explorer or are you opening them from the archive tab in the IDE?  I have files here which have been recently generated.  They can be opened from the IDE and restored etc but if you look at them with Windows Explorer it only sees the top level Text file.

I haven't looked into why this happens very deeply as it works perfectly with Positron Studio but I suspect its missing some catalogue info in the archive. If you think this is important I will take time to investigate but I had viewed it as a low priority.
JohnB

joesaliba

I tried to restore a file through Positron Studio but couldn't locate the backup.

Then I went looking into file explorer, found the zip files, but nothing was in there.

I will try again later at my PC, but that was how I found out.

Regards

Joe

JohnB

I have updated Positron Studio.
It now includes Tim's Cool feature Request and a few fixes. 

N.B.  Var Type only extends to Variables not Aliases at present.

You can Download it from Here
JohnB

top204

Many thanks John.

It is a truly lovely IDE, and a joy to use. :-)

Maxi

hi @JohnB
my norton antivirus give me an error your zip file
is it importand?
"malicius download detected"

RGV250

Hi Maxi,
My Notron throws a fit with Positron as well, you can always use Virustotal   https://www.virustotal.com/gui/home/upload
If you copy the URL to Johns file you will see that it does not show any issues. I just disable Norton for the download and install.

Regards,
Bob

RGV250

This is part of what I got, the list goes down showing more views.

Scan.jpg

Bob

top204

#133
I've come across this problem many, many, many times over the years with the compilers, with "so called" virus scanners throwing errors because they see a particular sequence of values in a file and use a best estimate guess, and get it very wrong!!! Or worse, they sometimes deliberately give errors so users will upgrade for more money, and that is "fact", not speculation. :-)

This then terrifies people who actually believe that virus scanners are "god like" and can never be wrong!! When in fact, virus scanners are more like virus' and trojans themselves now, and control a user's computer and sometimes delete files without any notification to the user, or stop a program running when there is nothing at all wrong with it.

I now use virtual machines and only ever, manually, run virus scans before something is released or installed, because they have caused so many problems on my machines over the years, and cause machines to slow down tremendously. I also use a virtual machine to run virus scans, with a few virus scanning programs on it. So when one makes a mistake, the others tend not too, but if a majority of them say "something wrong" I take it more seriously.

JohnB

The cause is down to the StudioRestart App which is used to restart Studio when you changed themes.
It's perfectly benign.  Sometime the AV picks up on this other times it is ignored.
JohnB

Craig

Thank you John the IDE is Beautiful and very responsive!
.
Regards
Craig

atomix

Ver 2.0.2.16
It became much better than it was before, well done John.

atomix

#137
An error in the program when opening a file (INCLUDE "XXXX") via Code Explorer and then closing this file.


JohnB

Can you send me the file, did you have any other files open?  The Access Violation message tells me nothing.
Is it repeatable and does the program recover or did you have to use Task Manager to close it?
JohnB

atomix

#139
Attach