Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 0.436 kb
//
// NSInsetTextView.m
// XVim
//
// Created by Tomas Lundell on 5/05/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "NSInsetTextView.h"
@implementation NSInsetTextView
@synthesize inset = _inset;
- (NSPoint)textContainerOrigin {
NSPoint origin = [super textContainerOrigin];
NSPoint newOrigin = NSMakePoint(origin.x + _inset.width, origin.y + _inset.height);
return newOrigin;
}
@end
Jump to Line
Something went wrong with that request. Please try again.