OSDN Git Service

Fixed a potential issue with automatic brace matching
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Mon, 23 Nov 2009 14:15:56 +0000 (15:15 +0100)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Mon, 23 Nov 2009 14:18:09 +0000 (15:18 +0100)
commit6894cd0b2ee5c788db407435f947d0128bc54c98
tree0bd388dcbd4cd0e537b1a2527619ac7f7cd4ba07
parent40bc1ac07bbb3572198818718240f608940d4fcd
Fixed a potential issue with automatic brace matching

When encountering a line that hasn't been highlighted yet, we need to
abort the optimization for changing brace depth.

Done with Roberto Raggi and mae.
src/plugins/cppeditor/cpphighlighter.cpp