From 38ef76bcdcfeaca357d2b66425f6b469fa640985 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Thu, 2 Jun 2016 20:19:00 +0200 Subject: [PATCH] fixed: fist tabstop was not working correctly --- AppKit/CPTextView/CPTypesetter.j | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AppKit/CPTextView/CPTypesetter.j b/AppKit/CPTextView/CPTypesetter.j index abcc7e726..d67b2d1ac 100644 --- a/AppKit/CPTextView/CPTypesetter.j +++ b/AppKit/CPTextView/CPTypesetter.j @@ -160,6 +160,9 @@ var CPSystemTypesetterFactory, } } + if (i === -1) + return tabStops[0]; + return nil; }