Commit Graph

13 Commits

Author SHA1 Message Date
Antonio Scandurra
96533998e2 Fix editor element tests on Windows 2017-05-12 16:51:05 +02:00
Nathan Sobo
c00ad62a0e Pass mini attribute when creating new TextEditor from TextEditorElement
This avoids content being shifted over due to rendering and measuring
the gutter on element creation and then subsequently hiding it.
2017-05-05 09:30:08 +02:00
Antonio Scandurra
638bb78ecb Fix build failures 2017-05-05 09:29:30 +02:00
Nathan Sobo
305fd14cd9 Add TextEditorElement.pixelRectRangeForScreenRange for compatibility 2017-05-05 09:29:30 +02:00
Nathan Sobo
a5a80448cb Add intersectsVisibleRowRange on TextEditorElement 2017-05-05 09:29:30 +02:00
Antonio Scandurra
2a688db26b Add better test coverage for the mini and placeholder-text attributes 2017-05-05 09:29:29 +02:00
Antonio Scandurra
552fbf7915 Honor the gutter-hidden attribute correctly 2017-05-05 09:29:29 +02:00
Nathan Sobo
4c8fd0cb75 Add tests for TextEditorElement.setScrollTop/Left 2017-05-05 09:29:29 +02:00
Nathan Sobo
996e0462b7 Don't update synchronously in text-editor-element-spec 2017-05-05 09:29:29 +02:00
Nathan Sobo
129749f2ff Set updatedSynchronously to false in text-editor-element-spec 2017-05-05 09:29:29 +02:00
Antonio Scandurra
55950f9594 Assign placeholder text on the model only when the attribute is present
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-05-05 09:29:29 +02:00
Nathan Sobo
a9d0f82afb Use async/await in text-editor-element-spec 2017-05-05 09:29:29 +02:00
Nathan Sobo
5000f9eccb Convert text-editor-element-spec to JS 2017-05-05 09:29:29 +02:00