diff -r 3e8e0346d639 -r f09a457c83fe Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py --- a/Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py Sat May 17 11:43:07 2014 +0200 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py Sat May 17 16:53:00 2014 +0200 @@ -1235,11 +1235,12 @@ if firstWord != 'constructor': self.__error(docstringContext.start() + lineNumber, 0, "D232", 'constructor') - elif functionName.startswith('__'): + elif functionName.startswith(('__', 'on_')): if firstWord != 'private': self.__error(docstringContext.start() + lineNumber, 0, "D232", 'private') - elif functionName.startswith('_'): + elif functionName.startswith('_') or \ + functionName.endswith('Event'): if firstWord != 'protected': self.__error(docstringContext.start() + lineNumber, 0, "D232", 'protected')