Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » mouse wheel, skipping )]}" chars  
	
		
		
			| mouse wheel, skipping )]}" chars [message #43995] | 
			Wed, 10 December 2014 05:54   | 
		 
		
			
				
				
				
					
						  
						smxxms
						 Messages: 3 Registered: December 2014  Location: Slovenia
						
					 | 
					Junior Member  | 
					 | 
		 
		 
	 | 
 
	
		Maybe i am not aware of these in ide, 
but i find them quite usefull - especially with so little piece of code: 
 
>>+=---------- 
mousewheel, numLinesToScroll read from system: 
 at Assist.cpp void AssistEditor::MouseWheel(Point p, int zdelta, dword keyflags) 
	int slines; 
	SystemParametersInfo(SPI_GETWHEELSCROLLLINES, 0, &slines, 0); 
	... 
	CodeEditor::MouseWheel(p, zdelta*slines, keyflags); 
 
>>+=----------	 
when same char )]}"  ahead_written - it's jumped over: 
  if((code==')'||code==']'||code=='}'||code=='"') && code==GetChar(GetCursor()))SetCursor(GetCursor()+1); 
    at CodeEditor.cpp: if(code >= 32 && code < 128 && count == 1) { 
 
 
This is from sources v7936 
 
smx
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 04:22:48 CET 2025 
 Total time taken to generate the page: 0.04932 seconds 
 |