Skip to content

Commit

Permalink
Add 'rightleft' support to ATSUI renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
b4winckler committed Jun 7, 2008
1 parent 0ea7546 commit 89d9e60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/MacVim/MMAtsuiTextView.m
Expand Up @@ -1121,6 +1121,10 @@ - (void)drawInsertionPointAtRow:(int)row column:(int)col shape:(int)shape
} else if (MMInsertionPointVertical == shape) {
int frac = (cellSize.width * percent + 99)/100;
rect.size.width = frac;
} else if (MMInsertionPointVerticalRight == shape) {
int frac = (cellSize.width * percent + 99)/100;
rect.origin.x += rect.size.width - frac;
rect.size.width = frac;
}

[color set];
Expand Down

0 comments on commit 89d9e60

Please sign in to comment.