Fix ProblemHighlighter::setProblems() method

Authored by antonanikin on Feb 28 2017, 4:11 AM.

Description

Fix ProblemHighlighter::setProblems() method

The patch provides:

  1. Assertion fix, which happens when lineString is empty or contains only space-characters (loop at line 162). Such lines detected for example by vera++ analyzer (warning "L005: too many consecutive empty lines").
  1. Highlighting fix - old version doesn't highlight last line character.

Details

Committed
antonanikinFeb 28 2017, 4:14 AM
Parents
R32:92c20a755705: Merge branch '5.1'
Branches
Unknown
Tags
Unknown