Cheng Zhao
a92a65929a
Make hiddentInput bigger when inputing with IME.
...
Some IME's input bubble would have strange behavior when they thought
the target input box is small.
2013-09-14 20:10:36 +08:00
Cheng Zhao
c9d4c761bb
Show IME's composition text on screen.
...
The composition text should only show on screen temporarily and gets
disappered when input is cancelled or done. We simply mark the
composition as selected, so it can not only indicate this is composition
text instead of normal text, but also updates the composition without
adding new interfaces.
2013-09-14 19:52:39 +08:00
Cheng Zhao
0c839f419a
Move hidden input to the same position with cursor view.
...
This is required to make IME's input bubble follow the cursor.
2013-09-14 18:22:34 +08:00
Ben Ogle
448064b1cb
Only attach the mousewheel handler on regular editors
2013-09-13 11:05:33 -07:00
Kevin Sawicki
ca3fff8a94
💄 correct typo in method name
2013-09-04 14:01:46 -07:00
Ben Ogle
084457c2a0
Update the less files to properly import less
2013-09-04 12:25:27 -07:00
Matt Colyer
c1c73a822a
Mark classes as private per discussion
2013-08-27 10:17:00 -07:00
Matt Colyer
61e5e6ea28
Fix delegation references in comments
2013-08-27 10:16:58 -07:00
Kevin Sawicki
eaf80a0194
Rename softWrapColumn to editorWidthInChars
2013-08-23 18:09:17 -07:00
Kevin Sawicki
08b80c15ad
💄 Remove comment for removed parameter
2013-08-23 18:09:17 -07:00
Kevin Sawicki
052a489751
💄 toggle comments
2013-08-23 18:09:17 -07:00
Kevin Sawicki
a45b93614e
Add editor.softWrapAtPreferredLineLength config setting
...
This is used by the DisplayBuffer to use `editor.preferredLineLength`
as the soft wrap column instead of the editor size.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
cbd4fab8f2
Emit event from display buffer when soft wrap changes
...
This allows the editor to be reactive to the edit session
and always respect the edit session's current value when
initially opened.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
0b7262aa62
Always calculate the soft wrap column
2013-08-23 18:09:16 -07:00
Kevin Sawicki
da1e5f5c10
Always update the soft wrap column when the window resizes
...
This allows the edit session and display buffer to always be
notified of soft wrap column changes regardless of their initial
soft wrap state.
2013-08-23 18:09:16 -07:00
Kevin Sawicki
95a23cdada
Add default config for editor.softTabs
2013-08-21 18:53:34 -07:00
Kevin Sawicki
147e75ad95
Use editor.softWrap config value when creating edit sessions
...
Closes #666
2013-08-21 17:17:06 -07:00
Kevin Sawicki
2f4db45320
Use editor.tabLength config value when creating edit sessions
...
Closes #708
2013-08-21 17:12:04 -07:00
Kevin Sawicki
76332c76bd
Flatten src directory
...
* Move src/app to src/
* Move src/stdlib to src/
* Remove src/app and src/stdlib from NODE_PATH
2013-08-19 20:13:57 -07:00
Chris Wanstrath
9dea4c24b2
atom and stdlib
2011-11-09 18:33:43 -08:00
Chris Wanstrath
dcd11ac1f8
tweak
2011-11-09 14:21:23 -08:00
Chris Wanstrath
4668f43991
not ready for this yet
2011-11-09 14:21:03 -08:00
Chris Wanstrath
235fd66529
Browser and Editor extend Document
2011-11-09 14:19:44 -08:00
Chris Wanstrath
9db7eb1c0d
atom.on, atom.off, atom.trigger
2011-11-09 12:32:54 -08:00
Chris Wanstrath
51f8497229
atom.storage
2011-11-09 12:28:38 -08:00
Chris Wanstrath
6f1d4a8cc8
atom.keybinder
2011-11-09 12:26:37 -08:00
Chris Wanstrath
73fd8562ab
atom.event
2011-11-09 12:22:23 -08:00
Chris Wanstrath
7425aec186
atom.native
2011-11-09 12:16:15 -08:00
Chris Wanstrath
e182b6c2ae
ui timeout hack returns
2011-11-09 12:13:15 -08:00
Corey Johnson
7ab473b0ce
Browser and Editor are panes. I hate the pane HTML code now.
2011-11-07 14:51:21 -08:00
Corey Johnson
4e262caee0
Let editor decide if it wants to open a file.
2011-11-07 08:53:07 -08:00
Chris Wanstrath
8e56bf8a6e
browsers hide themselves
2011-11-06 23:20:31 -08:00
Chris Wanstrath
ac9a5efb94
move iframe creation into Browser
2011-11-06 23:18:23 -08:00
Chris Wanstrath
b0efbc7196
yay for weird ui loading bugs
2011-11-06 23:03:45 -08:00
Chris Wanstrath
f7aebfc3bc
Browser works! (pretty hacky tho)
2011-11-06 22:53:56 -08:00
Chris Wanstrath
bb46049f47
rb-mode for Rakefile, Gemfile, .gemspec, and .ru
2011-11-06 22:10:41 -08:00
Chris Wanstrath
cba6fb844a
atomController.path => window.path
2011-11-06 15:59:26 -08:00
Corey Johnson
745a05089f
fixed tree bug
2011-11-04 18:31:41 -07:00
Corey Johnson
750ede4f2c
handle storage on the objective-c side.
2011-11-04 17:43:15 -07:00
Corey Johnson
7e7bbe3f01
Multiple windows can be opened, and their buffer state is saved.
2011-11-03 15:48:19 -07:00
Corey Johnson
e4d79c6625
don't error when opening untitled buffer
2011-11-03 13:41:39 -07:00
Corey Johnson
fe734a1b11
it remembers what buffers a window has open
2011-11-02 16:57:34 -07:00
Corey Johnson
9a596734ff
editor is more editorish
2011-11-02 15:22:52 -07:00
Corey Johnson
c67917efa3
tabs
2011-11-02 10:27:25 -07:00
Corey Johnson
9e21d8da04
Dirty and window title added back. Dirty close prompts user.
2011-11-01 16:07:20 -07:00
Corey Johnson
445e5a8ce0
Every window has a path
2011-10-28 17:12:16 -07:00
Corey Johnson
8b906e40c1
actually working
2011-10-28 10:58:16 -07:00
Corey Johnson
3c976e37f3
things got a little out of hand
2011-10-27 17:45:42 -07:00
Corey Johnson
6c56221afe
Editor is now a plugin! This means everything is pretty modular now (and the code is a little event heavy)
2011-09-26 17:29:10 -07:00
Corey Johnson
226fb9e26e
Moving event handling out of editor into window
2011-09-26 11:10:27 -07:00