[rkward-cvs] rkward/rkward rkconsole.cpp,1.31,1.32

Thomas Friedrichsmeier tfry at users.sourceforge.net
Thu Sep 14 08:47:15 UTC 2006


Update of /cvsroot/rkward/rkward/rkward
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv2594

Modified Files:
	rkconsole.cpp 
Log Message:
Do not crash if rkward output hl definition is not found

Index: rkconsole.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rkconsole.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** rkconsole.cpp	12 Sep 2006 17:12:10 -0000	1.31
--- rkconsole.cpp	14 Sep 2006 08:47:13 -0000	1.32
***************
*** 119,123 ****
  	view->installEventFilter(this);
  
- 	setRHighlighting ();
  	doc->setModified (false);
  	
--- 119,122 ----
***************
*** 131,134 ****
--- 130,134 ----
  	doc->setUndoSteps (0);
  	clear ();
+ 	setRHighlighting ();
  
  	commands_history = RKSettingsModuleConsole::loadCommandHistory ();
***************
*** 161,165 ****
  		doc->setHlMode(i);
  	} else {
! 		RK_DO (qDebug ("%s", doc->hlModeName(i).lower().latin1 ()), COMMANDEDITOR, DL_WARNING);
  	}
  }
--- 161,165 ----
  		doc->setHlMode(i);
  	} else {
! 		RK_DO (qDebug ("rkward output highlighting not found"), COMMANDEDITOR, DL_WARNING);
  	}
  }





More information about the rkward-tracker mailing list