![]()  | 
 
where is problem with my scheme? help | 
 
    Post Reply  
   | 
  
| Author | |
   
   yesiwumian  
   
   Newbie  
   Joined: 27 March 2008 Status: Offline Points: 2  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: where is problem with my scheme? helpPosted: 27 March 2008 at 10:50am  | 
 
| 
   
    
    hello, my pascal scheme can't deal with the nested Collapsable 
   
  example for the my test.pas file: begin end begin begin begin end end end ================================================= my _pascal.schclass is like following: lexClass: name = c_Pascal parent:file = <*.pas|*.dpr|*.dpk|*.inc|*.int> caseSensitive = 0 lexClass: name = c_PascalCodeBlock_Start parent = c_Pascal, c_PascalCodeBlock children = 0 previous:tag = @specs,';', ' ', '\t', @eol start:Tag = 'begin' end:Separators = @specs,'\t', ' ', @eol txt:colorFG = 0x0000FF txt:bold = 1 lexClass: name = c_PascalCodeBlock_End parent = c_Pascal, c_PascalCodeBlock children = 0 previous:tag = @specs, ' ', '\t', @eol start:Tag = 'end' end:Separators = @specs,' ', '\t', @eol txt:colorFG = 0x0000FF txt:bold = 1 lexClass: name = c_PascalCodeBlock parent = c_Pascal, c_PascalCodeBlock // children = c_PascalCodeBlock_Start start:CLASS = c_PascalCodeBlock_Start end:CLASS = c_PascalCodeBlock_End Collapsable = 1 CollapsedText = '...' ============================================ and wherefor when selected mul-lines and use menu 'make selection UpperCase', and bug occur. i want to write a scheme for basic language, can you help me ?  | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 12 March 2009 at 5:55pm | 
 
| 
   
    
   As for basic - look into __VBScript.schclass in my prototype syntax code
 
   
   | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 25 March 2009 at 10:59pm | 
 
| 
   
    
   I am surprised why there is no reaction from post originator. If you need to fix your syntax - what are you waiting for? 
 
   
  My VBS.syntax has two commented cases for collapsing block - one #Region ---- #End Region allows to have nested (collapsing) blocks inside and another type - "Private Sub ---- "End Sub" - not. 
    | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |