It is currently Wed Dec 02, 2020 11:19 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: [5.72-B1] Indentation still buggy
PostPosted: Sat Feb 08, 2020 11:42 am 
Offline
Addict
Addict

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3965
Location: Berlin, Germany
PureLust wrote:
Little John wrote:
Yes, I'm using some own keywords for indentation.
Interesting ... do you have defined anything, rather then ordinary PB commands, so they can be used anytime and anywhere in the code?

I mean the keywords in the file "SDK\PureUnit\PureUnitKeywords.txt".
Strictly speaking, they are not my "own" keywords. However, unfortunately by default they are not recognized as keywords by the IDE, so we have to make them known to the IDE ourselves.

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.72-B1] Indentation still buggy
PostPosted: Sat Feb 08, 2020 11:50 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Apr 16, 2007 3:57 am
Posts: 462
Location: Germany, NRW
#NULL wrote:
I think it was JaPBe that began to supporting ;> and since then for me too it feels like default even in the PB-IDE. :)
Oh jeah, I think you are right ... there it comes from.

I started using JaPBe right after I started with PB (back in the old, old days). And you start to assimilate all it's build in nitty gritties quite fast.
But since PBs IDE made a huuuuughe jump, I'm very pleased with it's functionality but still use some handy dandy tricks from the good old JaPBe-Times. :wink:

#NULL wrote:
In any case I think 'format code' shouldn't have a different result than what auto-indentation did in the first place (likewise, formatting commented-out code indents it in a wrong way).
Thank you for clearing up my messy gibberish ... that was exactly what I was trying to highlight as a bug ... :mrgreen:

About auto alignment of Comments - what about this:

Only auto align comments starting with "; " (semicolon plus space) - so everyone can decide if this line should be auto aligned or not. E.g.:

"; ===== Main Event Loop =====" - comment gets aligned
";===== Main Event Loop =====" - stays at the position where the coder wanted it to be.

or use ";;" as a key for a comment you want to be aligned, or, or, or, ...

_________________
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)


Top
 Profile  
Reply with quote  
 Post subject: Re: [5.72-B1] Indentation still buggy
PostPosted: Sat Feb 08, 2020 1:54 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 3347
Location: Boston, MA
Yes!
Stop moving my left aligned comments :evil:

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye