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)
committercon <qtc-committer@nokia.com>
Mon, 23 Nov 2009 16:20:29 +0000 (17:20 +0100)
commitd6b770586d9b13eae66d33c550c5aba8009541a3
tree5b2544d01b57d45fffadb7a93e05e0080f78646f
parentc2f36acb7c09fbcb2b09d1a493a9f69887e4176e
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.
(cherry picked from commit 6894cd0b2ee5c788db407435f947d0128bc54c98)
src/plugins/cppeditor/cpphighlighter.cpp