mTextStart is float instead of int.
diff --git a/TextEditor.h b/TextEditor.h
index d729dab..36fc057 100644
--- a/TextEditor.h
+++ b/TextEditor.h
@@ -151,7 +151,7 @@
 

 		TokenRegexStrings mTokenRegexStrings;

 

-		bool mCaseSensitive;
+		bool mCaseSensitive;

 		bool mAutoIndentation;

 

 		static LanguageDefinition CPlusPlus();

@@ -310,7 +310,7 @@
 	bool mWithinRender;

 	bool mScrollToCursor;

 	bool mTextChanged;

-	int  mTextStart;                   // position (in pixels) where a code line starts relative to the left of the TextEditor.

+	float  mTextStart;                   // position (in pixels) where a code line starts relative to the left of the TextEditor.

 	int  mLeftMargin;

 	bool mCursorPositionChanged;

 	int mColorRangeMin, mColorRangeMax;

@@ -326,4 +326,3 @@
 	ImVec2 mCharAdvance;

 	Coordinates mInteractiveStart, mInteractiveEnd;

 };

-