#include "support/debug.h"
#include <cstdlib>
-#include "support/assert.h"
+#include "support/lassert.h"
using namespace std;
beg.pos() = row.sel_beg;
end.pit() = pit;
end.pos() = row.sel_end;
+ if (end.pos() == row.endpos()) {
+ // selection goes till the end of the row.
+ end.boundary(true);
+ }
drawRowSelection(pi, x, row, beg, end, beg_margin, end_margin);
}