Hi
the documentation for
QSyntaxHighlighter::setCurrentBlockUserData ( QTextBlockUserData * data )
says
but I don't understand how to actually retrieve the current QTextBlock, since on what should I call QTextCursor::block()?you can ask the current QTextBlock (retrieved using the QTextCursor::block() function) if it has a user data object set
thanks in advance
Lorenzo


							
						
    
    
      
    
    
    
    
    
    
  
    
    
      
    
    
    
    
  
				
				
				
					
  Reply With Quote
							
								
    
    
    
    
  
    
    
      
    
  
				

Bookmarks