LoginSignup
2
1

More than 5 years have passed since last update.

GitLab内のEditor(Ace)で,Safari7.0でのカーソル表示の不具合の解消

Posted at

あらまし

GitLabにはブラウザ上でファイルを編集する機能(Ace:Ajax.org Cloud9 Editor)が搭載されている.
便利な機能だが,Safari 7.0(OS X Mavericks)だと英字でのカーソルの位置がおかしい.その解消法を示す.

症状

gitlab.gif
GitLab内の編集画面

文字間とカーソルの位置がずれていることがわかる.

解消法

ターミナル(Terminal.app)に以下のコマンドを入力,Enter.

$ defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2ScreenFontSubstitutionEnabled -bool YES

結果

gitlab_fixed.gif
同画面

カーソルから文字が正しく出現している.

参考

Cursor mispositioned when using fractional fixed-width fonts · Issue #1534 · ajaxorg/ace · GitHub

2
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1