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.

(cherry picked from commit 27967a570c230a01defb1cb960fce1c626c7c837)

Details

Committed
kfunkFeb 28 2017, 7:34 AM
Parents
R32:2892419e3907: Fix ProblemModel::addProblem() method
Branches
Unknown
Tags
Unknown