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

Giuseppe MPO

Code folding off

Solved, thanks.

Yves

I'm just trying my hand with Positron Studio. It looks great there is one thing I can't find how can I increase the general font size? Sorry silly question but I just cant find it.

Regards,

Yves
Yves

JonW

Quote from: Yves on Dec 31, 2021, 04:54 PMI'm just trying my hand with Positron Studio. It looks great there is one thing I can't find how can I increase the general font size? Sorry silly question but I just cant find it.

Regards,

Yves

Tools/Options/Highligher


John B. 

Looking great!  Simulation would be really useful but alot of work!


See_Mos

Using build 14 I cannot get Tools-Options-Show Right Margin at 80 Spaces to show a vertical line?

JohnB

@See_Mos MOS  It is working fine on my machine in dark mode, I suggest you check the colours to make sure it isn't the same as the background.  There have been no changes in this area for many iterations.
JohnB

See_Mos

#85
Hi John,

It appears to be fixed at silver which is the same as my working page.  Any other page colour and it is visible.

I had a look through the INI file but did not see it listed.

See_Mos

Hi John,

A couple more things that I noticed.

Sometimes using Copy and Paste moves all of the code down one line and puts the copied item as line 1 as well as the current cursor position.

In a While 1 = 1.......Wend loop commenting a block of code sometimes causes the While to be indicated with the red error squiggle even though there are no errors and the code compiles OK.

JohnB

@See_Mos

Jan 03 post - There are 2 fixed colour options for the margin line according to the theme selected.  There is not a setting for the colour options.  What ever colour I set the margin to there is always the chance that users will choose the same colour.

Jan 05 post - I'll try and repeat the copy/paste here.  The while..wend loop I don't really understand what you are saying. What conditions do you see this happening?

Sorry for slow response, we are in the process of fitting a new kitchen and its absolute chaos here at present.


JohnB

See_Mos

Thanks John,

I was going to send you the code with the commented block problem but your email has gone from my system.  I am still working on the code so don't want to post it on the forum just yet.  If you still have my email just send a note and I will reply.

I will try and reproduce the copy paste problem to give you more information.

Sommi

Hi!

I just wonder if it is possible to turn off the auto insertion of

if Expression then

EndIf


As soon as there is entered "if"

Kind regards Sommi
KISS - keep it simple and stupid

See_Mos

#90
Sommi, I think that is Tools > Options and untick code completion.

John, I cut the offending code down to this

While 1 = 1

    Select Buttons
    Case 1
         If Digit_pos >= 2 Then Digit_pos = Digit_pos - 1
    Case 2
         If Digit_pos <=4 Then Digit_pos = Digit_pos + 1
    EndSelect

    If BUTTONS = 1 Then                 ' select the digit to change
       If Digit_pos >= 2 Then Digit_pos = Digit_pos - 1
    Endif

    If BUTTONS = 2 Then                 ' select the digit to change
       If Digit_pos <=4 Then Digit_pos = Digit_pos + 1
    Endif
    INC Temp
Wend

The two blocks of the code lines 3 to 8 or 10 to 16 do the same thing.  Comment out either, or both, blocks to produce the problem

I haven't managed to reproduce the copy / paste problem yet.

JohnB

I have tried your code, I can only get this when I have code Folding enabled and then only initially opening the file.
Code folding should not apply to any of the sections in your code so there must be some left over from when when code folding was applied to all more commands.  I look though the code and see if I can spot where its happening.  I cannot see the issues when you comment out sections as long as you haven't left an orphaned node e.g. select w/o EndSelect.  I suggest you leave code folding off if you possibly can.
JohnB

Sommi

KISS - keep it simple and stupid

Sommi

Hi!

When I change the opened source file in a project and add this in the project manager, then save the project, at re-open still the old source file is open.

RE Sommi
KISS - keep it simple and stupid

JohnB

@Sommi OK, I'll try it here and if I can repeat it I will put the fix in the next release.
JohnB

Sommi

KISS - keep it simple and stupid

JonW

John  can you name bookmarks?  I use them often to jump to specific sections and if you have a number of them assigned it would be useful to give a name.

JonW

Figured it out, bookmark a commented line and it includes in the goto bookmark.
keep up the good work great IDE!

Sommi

Hi!
Is it possible to use search without highlighting, so the word the cursor is in shows up in the search dialog?

RE. Sommi
KISS - keep it simple and stupid

Sommi

Sorry it is the find dialog
KISS - keep it simple and stupid