Indentation mistake with ;{ ;} blocks

Post bugs related to the IDE here
es_91
Enthusiast
Enthusiast
Posts: 298
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Indentation mistake with ;{ ;} blocks

Post 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?
Last edited by es_91 on Thu Nov 14, 2024 5:58 pm, edited 1 time in total.
:mrgreen:
User avatar
SPH
Enthusiast
Enthusiast
Posts: 561
Joined: Tue Jan 04, 2011 6:21 pm

Re: Indentation mistake with ;{ ;} blocks

Post by SPH »

I can twist it in all directions, but I don't see any folding problem...

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
es_91
Enthusiast
Enthusiast
Posts: 298
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: Indentation mistake with ;{ ;} blocks

Post by es_91 »

Don't twist it; in the second image the format indentation should be +1 Tabulator.
:mrgreen:
Post Reply