Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 14th, 2011  |  syntax: Diff  |  size: 0.72 KB  |  hits: 42  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # HG changeset patch
  2. # User Marko Njezic
  3. # Date 1308049083 -7200
  4. # Node ID 639c8c716696308215c2ba99ef319f68e9e639b9
  5. # Parent  6c391318c1f01f40cd01af093137e6e619a69100
  6. Fix edge line display on wrapped lines. Bug #3314807.
  7.  
  8. diff -r 6c391318c1f0 -r 639c8c716696 src/Editor.cxx
  9. --- a/src/Editor.cxx    Tue Jun 14 14:30:17 2011 +1000
  10. +++ b/src/Editor.cxx    Tue Jun 14 12:58:03 2011 +0200
  11. @@ -2929,6 +2929,8 @@
  12.         if (vsDraw.edgeState == EDGE_LINE) {
  13.                 int edgeX = theEdge * vsDraw.spaceWidth;
  14.                 rcSegment.left = edgeX + xStart;
  15. +               if ((ll->wrapIndent != 0) && (lineStart != 0))
  16. +                       rcSegment.left -= ll->wrapIndent;
  17.                 rcSegment.right = rcSegment.left + 1;
  18.                 surface->FillRectangle(rcSegment, vsDraw.edgecolour.allocated);
  19.         }