Page 1 of 1

Indentation mistake with ;{ ;} blocks

Posted: Thu Nov 14, 2024 7:02 am
by es_91
Hello


When using ;{ ;} blocks to indent keyword blocks, here's what goes wrong:


Code: Select all



declareModule  box
;{
	
	
	declare  message  (  tt$,  
	                     tx$  )
	
	
;}
endDeclareModule


module  box
;{
	
	
	procedure  message  (  tt$,  
	                       tx$  )
	;{
		
		
		messageRequester  (  tt$,  
		                     tx$  )
		
		
	;}
	endProcedure
	
	
;}
endModule


box::message  (  "Hello",  
                 "This is a MessageBox."  )




When using Ctrl+i to indent, the entire block must be selected for otherwise it won't indent correctly.



Image


Press Ctrl+i to indent the blocks ONLY when selecting the ;{ ;} bracketts, otherwise it will indent too few.


Image


Should be visible. Could this please be fixed?

Re: Indentation mistake with ;{ ;} blocks

Posted: Thu Nov 14, 2024 9:18 am
by SPH
I can twist it in all directions, but I don't see any folding problem...

Re: Indentation mistake with ;{ ;} blocks

Posted: Thu Nov 14, 2024 5:57 pm
by es_91
Don't twist it; in the second image the format indentation should be +1 Tabulator.