Changeset 3497


Ignore:
Timestamp:
Mar 4, 2019, 9:01:27 PM (6 years ago)
Author:
Andreas Schnellbacher
Message:
  • Fixed end of mark for char mark and col = 0.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/netlabs/macros/tabsspaces.e

    r3463 r3497  
    6262   if fFileIsMarked then
    6363      getmark markfirstline, marklastline, markfirstcol, marklastcol, markfid
     64      -- Handle char mark and lastcol = 0
     65      if marklastcol = 0 then
     66         marklastline = marklastline - 1
     67         marklastcol = MAXCOL
     68      endif
    6469      FirstLine = markfirstline
    6570      LastLine  = marklastline
     
    340345   if fFileIsMarked then
    341346      getmark markfirstline, marklastline, markfirstcol, marklastcol, markfid
     347      -- Handle char mark and lastcol = 0
     348      if marklastcol = 0 then
     349         marklastline = marklastline - 1
     350         marklastcol = MAXCOL
     351      endif
    342352      FirstLine = markfirstline
    343353      LastLine  = marklastline
Note: See TracChangeset for help on using the changeset viewer.