On Tuesday 25 October 2005 12:02, Vladimir Prus wrote: > I wonder if in KDevelop, language support is optional or not. > Specifically, here's a part of src/multibuffer.cpp: > > KDevLanguageSupport *language = API::getInstance()->languageSupport(); > setOrientation( language->splitOrientation() ); > > If 'language' is 0, the code will crash, and I've managed to crash it in > practice. Should the code check for language==0, or language==0 is > "impossible" event? At least I can say the language plugin _should_ be optional. kdevassistant application, for example, doesn't use language support stuff. Also when no project is loaded, no language support is available in usual KDevelop profiles. This case should be probably fixed. _______________________________________________ KDevelop-devel mailing list KDevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel