Commit Graph

15 Commits

Author SHA1 Message Date
jtbandes
d15a0eddb3 Include high resolution I-Beam cursor 2012-08-18 14:52:58 -07:00
jtbandes
6e70305c5d Move border drawing to OakDocumentView
This allows the border to appear properly when scrolling (with a multitouch device) bounces past the end of the content.
2012-08-18 21:28:56 +02:00
Allan Odgaard
e9d30644e9 Improve tab trigger boundary checks
When two neighboring characters have different character class or one is an alpha numeric character (excl. underscore) and the other is not, we consider this a valid boundary for a tab trigger.

This closes issue #157.
2012-08-15 16:07:23 +02:00
Allan Odgaard
1892e0a557 Make the file drop path relative to current file
Previously these were relative to the project directory with current file’s directory as a fallback, but 1.x used current file.
2012-08-14 22:42:51 +02:00
Allan Odgaard
05298ee8dc Insert path when dropping binary files
This is only when there is no drop command for the file type.
2012-08-14 22:35:11 +02:00
Bo Xiao
96cb899b53 Initial commit of Simplified Chinese localization for xib files. 2012-08-14 21:29:51 +02:00
Adam Strzelecki
6763406fe5 Bind Opt+F1 to show bundle item popup. 2012-08-14 19:29:00 +02:00
Adam Strzelecki
752430f339 Check current grammar bundle in bundle item popup.
Do not specify selected index explicitely, popup menu item with NSOnState gets selected by default.
2012-08-14 19:13:15 +02:00
Adam Strzelecki
8a8432d065 Select current grammar at bundle item popup. 2012-08-14 19:13:14 +02:00
Allan Odgaard
bf12bdd3f2 Another CJK fix
When invoking an action that would replace the marked text (“CJK edit buffer”) with a zero-length string, we would continue to be in “CJK” mode and thus allow the input manager to process the next key press.

In this situation though pressing e.g. escape or backspace would result in the input manager inserting the literal character code for this key.

So we now leave “CJK edit mode” if the “edit buffer” is empty.

There is still an issue though where, if the edit buffer is not empty, and the user press backspace, we correctly (?) ask the input manager to handle this key press, but the input manager will (wrongly) replace the selection with the literal backspace character.
2012-08-13 18:31:37 +02:00
Allan Odgaard
9ce0a3faa6 Fix issue #44 (CJK input)
We have our own version of interpretKeyEvents: because we want to augment the default key bindings dictionaries (and support multi-stroke key bindings).

When there is marked text (as part of inserting CJK or similar) the system’s version of interpretKeyEvents: seems to handle key bindings slightly different, for example where ↩ is normally bound to insertNewline:, this might be suppressed when the user has just selected a “translation”.
2012-08-13 01:21:53 +02:00
Elia Schito
449b6229d8 Add bundle menu to the status bar 2012-08-13 00:25:20 +02:00
jtbandes
ee11103d2d Change deployment target of all xibs to OS X 10.7 2012-08-11 23:04:00 -07:00
jtbandes
45b68389f2 Save all xibs with Xcode 4.4.1 (4F1003) 2012-08-11 23:04:00 -07:00
Allan Odgaard
9894969e67 Initial commit 2012-08-09 16:25:56 +02:00