on master help sign in
cosmetic: silly indentation changes in comments
commitbb13c9c5b1a12abf633f417d116d71f7113a1c62 authorEvan Czaplicki <info@elm-lang.org> dateTue 18 Feb 2014, 12:23 (13 years ago) parent0018d32
1 file changed+5−5
libraries/Graphics/Input.elm+5−5
libraries/Graphics/Input.elm+5−5
@@ -150,7 +150,7 @@ clickable = Native.Graphics.Input.clickable
150150
151151{-| Represents the current content of a text field. For example:
152152
153− FieldContent "She sells sea shells" (Selection 0 3 Backward)
153+ FieldContent "She sells sea shells" (Selection 0 3 Backward)
154154
155155This means the user highlighted the substring `"She"` backwards.
156156-}
@@ -158,10 +158,10 @@ type FieldContent = { string:String, selection:Selection }
158158
159159{-| The selection within a text field. `start` is never greater than `end`:
160160
161− Selection 0 0 Forward -- cursor precedes all characters
161+ Selection 0 0 Forward -- cursor precedes all characters
162162
163− Selection 5 9 Backward -- highlighting characters starting after
164− -- the 5th and ending after the 9th
163+ Selection 5 9 Backward -- highlighting characters starting after
164+ -- the 5th and ending after the 9th
165165-}
166166type Selection = { start:Int, end:Int, direction:Direction }
167167
@@ -170,7 +170,7 @@ data Direction = Forward | Backward
170170
171171{-| A field with no content:
172172
173− FieldContent "" (Selection 0 0 Forward)
173+ FieldContent "" (Selection 0 0 Forward)
174174-}
175175noContent : FieldContent
176176noContent = FieldContent "" (Selection 0 0 Forward)