並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 35 件 / 35件

新着順 人気順

codemirrorの検索結果1 - 35 件 / 35件

  • CodeMirror

    Extensible Code Editor CodeMirror is a code editor component for the web. It can be used in websites to implement a text input field with support for many editing features, and has a rich programming interface to allow further extension. This is a CodeMirror field, configured for editing JavaScript code. Features Accessibility Works well with screen readers and keyboard-only users. Mobile Support

    • CodeMirror

      Extensible Code Editor CodeMirror is a code editor component for the web. It can be used in websites to implement a text input field with support for many editing features, and has a rich programming interface to allow further extension. This is a CodeMirror field, configured for editing JavaScript code. Features Accessibility Works well with screen readers and keyboard-only users. Mobile Support

      • テキストエリアを使ってコーディングしやすくする·CodeMirror MOONGIFT

        CodeMirrorはJavaScript製のオープンソース・ソフトウェア。Webブラウザのテキストエリアの貧弱さは言うに事欠かない。メモ帳レベルの機能しかなく、とても使い勝手が悪い。HTMLを作成する場合はWYSIWYGなエディタに変換するCKEditorのようなソフトウェアも存在するが、Webブラウザ上でプログラミングしたいと思うような機能はない。 テキストエリアをハイライト もしWeb上で開発者向けのサービスや環境を提供しようと思うならCodeMirrorを使ってみるといいだろう。CodeMirrorはテキストエリアを開発のしやすいエディタ環境に変化させてくれるソフトウェアだ。例えばJavaScript/HTML/CSS/Python/Rubyといった言語向けにハイライト表示する機能がある。 それらは各言語向けのCSSとJavaScriptで作られたパーサーによって作られている。また

          テキストエリアを使ってコーディングしやすくする·CodeMirror MOONGIFT
        • CodeMirror v6によるZennのMarkdownエディタの作り方

          Zennでは、「記事」や「本のチャプター」のMarkdownエディタのベースにCodeMirrorというライブラリを使っています。これまではCodeMirrorのv5を使っていた(正確にはv5に依存するラッパーライブラリを使っていた)のですが、古いバージョンを使い続けるリスク解消と更なるエディタの拡張性を得るため、CodeMirrorのv6にアップグレードすることにしました。 本記事では、CodeMirror v6の基本的な知識部分から、ZennのMarkdownエディタを実装するまでのカスタマイズ方法を紹介します。 CodeMirrorの基礎知識 はじめに CodeMirrorはWeb上にコードエディタを実装するためのライブラリです。標準で多くのプログラミング言語に対応したシンタックスハイライトや入力補完、折りたたみ、キーマップ、マルチカーソルなど、モダンなコードエディタに必要な機能を備

            CodeMirror v6によるZennのMarkdownエディタの作り方
          • Draft.js と Slate.js と CodeMirror の感想 - r7kamura - Medium


             Web  Electron Draft.jsSlate.jsCodeMirror  Draft.js Server-Side Rendering  React  ComponentDidMount  Draft.js Decorator  DOM 
            • CodeMirrorでWordPressのhtmlエディタをもっと快適にする

              Posted: 2012.05.08 / Category: javascript, WordPress / Tag: Plugin, 管理画面 前回「HTML Editor Syntax Highlighter」というWordpressのエディタをハイライト表示するプラグインをご紹介しましたが、これは「CodeMirror」というJSライブラリを使用していまして、このライブラリは様々なカスタマイズができます。 そこで、この記事では「CodeMirror」をカスタマイズしてさらに快適なエディター環境を構築する方法をご紹介します。 プラグインの編集 解凍したフォルダの中に「html-editor-syntax-highlighter.php」というファイルがありますのでこれを編集します。 オプションは49~65行目あたりになるので、基本的にはここに項目を追加したりします。 html-edit

                CodeMirrorでWordPressのhtmlエディタをもっと快適にする
              • Replit — Ace, CodeMirror, and Monaco: A Comparison of the Code Editors You Use in the Browser

                EngInfraAce, CodeMirror, and Monaco: A Comparison of the Code Editors You Use in the Browser I’ve been working on Replit for roughly six years now, and as the team has grown, I’ve focused on the IDE (what we call the workspace) portion of the product. Naturally, I was increasingly preoccupied with the code editor. While we’ve considered creating a code editor that meets our needs, the complexity i

                  Replit — Ace, CodeMirror, and Monaco: A Comparison of the Code Editors You Use in the Browser
                • CodeMirror

                  Extensible Code Editor CodeMirror is a code editor component for the web. It can be used in websites to implement a text input field with support for many editing features, and has a rich programming interface to allow further extension. This is a CodeMirror field, configured for editing JavaScript code. Features Accessibility Works well with screen readers and keyboard-only users. Mobile Support

                  • WEB+DB PRESS用語統一ルール等を使った技術用語のLintをするCodeMirrorアドオンを書いた

                    WZ EDITORの用語統一辞書 以前、WZ EDITORの用語統一辞書のパーサを書いていましたが、 これを少し改善してWEB+DB PRESS表記ルールが解釈できるようになったので、 これを使ってCodeMirrorにLint機能をつけてみたという話です。 WEB+DB PRESS用語統一ルール(WZEditor)のパーサを書いた | Web Scratch azu/wzeditor-word-rules-parser CodeMirrorでスペルチェック azu/wzeditor-word-rules-parserのパーサを使ってWEB+DB PRESS表記ルール等の WZ EDITORの用語統一辞書をスペルチェックとして使えるCodeMirrorアドオンを書きました。 azu/codemirror-spellckecker 以下から試すことが出来ます。(DEMOにはWZ EDITOR

                      WEB+DB PRESS用語統一ルール等を使った技術用語のLintをするCodeMirrorアドオンを書いた
                    • CodeMirrorでAutoCompleteする - Qiita

                      JavaScriptで作られたエディタCodeMirrorで、こんな風に補完をしたい。 準備 まず以下のjsとcssを読み込む codemirror/lib/codemirror.js codemirror/lib/codemirror.css codemirror/addon/hint/show-hint.js codemirror/addon/hint/show-hint.css 同期的に補完候補を表示する 以下coffeescript elはなんか適当なDOMTextAreaELement渡してください。 {Pos} = CodeMirror autocomplete = (cm) -> CodeMirror.showHint cm, -> cur = cm.getCursor() token = cm.getTokenAt(cur) start = token.start end

                        CodeMirrorでAutoCompleteする - Qiita
                      • CodeMirrorでブラウザ上で動作するコードエディタを作る - Qiita

                        はじめに 開発しているアプリの環境で画面のデザインや動作サンプルを作るのにjsFiddleみたいなエディタがあるといいなと思ったので簡単に調べた。 バックエンドは適当に実装するとして、フロントエンドにはjsFiddleでも使っているCodeMirrorを使うのが良さそう。 CodeMirrorはJavaScriptライブラリで、シンタックスハイライトやオートインデント、行番号表示などコードエディタとして必要な機能を一通り揃えており、対応言語も多数ある模様。 また、アドオンを導入することで括弧の補完やハイライト、Ctrl+Spaceでコードの自動補完などの機能を持たせることもできる。 あと他ライブラリに非依存なので導入しやすい。 導入 http://codemirror.net/から「DOWNLOAD LATEST RELEASE」をクリックして最新版のzipファイルをダウンロード・解凍する

                          CodeMirrorでブラウザ上で動作するコードエディタを作る - Qiita
                        • GitHub - soliton4/nodeMirror: node.js + CodeMirror = powerful ide

                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                            GitHub - soliton4/nodeMirror: node.js + CodeMirror = powerful ide
                          • GitHub - daniellmb/JavaScript-Scope-Context-Coloring: An experiment in switching between syntax highlighting and scope colorizing built on JSLint and CodeMirror.

                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                              GitHub - daniellmb/JavaScript-Scope-Context-Coloring: An experiment in switching between syntax highlighting and scope colorizing built on JSLint and CodeMirror.
                            • CodeMirrorでカーソル位置が常に中央になるアドオンを書いた

                              azu/codemirror-typewriter-scrolling azu/codemirror-typewriter-scrolling という CodeMirrorのアドオンを書きました。 typewriter-scrolling? Typewriter Scrolling というのはタイトルのように入力行が中央になる機能の事らしいです。 FoldingTextに同じ名前の機能があります(これでこの名前を知った) FoldingText 入力位置が中央になる機能がちゃんとある。 TypeWriter Scrollingというのか http://t.co/zAjrlVzrpc — azu (@azu_re) August 16, 2014 また、JetBrains IDEにはShow virtual space at file bottomという名前で同じような機能があります。 要は

                                CodeMirrorでカーソル位置が常に中央になるアドオンを書いた
                              • WordPress のテーマ編集にシンタックスハイライトを適用する「CodeMirror for Wordpress」を作りました - localdisk

                                @yuki930が「WordPressプラグインを作ったらモテる」と言ったのでリクエストを募ったところ「テーマファイルの編集にシンタックスハイライトを適用して欲しい」というのがあったので作りました。以下説明。 インストール WordPress › CodeMirror for WordPress « WordPress Pluginsよりダウンロード2010/04/22 21:25 0.0.2 update*1 解凍して wp-content/plugins にコピー プラグインを有効化 before after 最後に WordPress プラグインを作るのは結構楽しいので「こんなの欲しい!」って僕にリプライをくれると作るかも 他にもいくつかリクエストを頂いてたりするのですが、UIのイメージがよくわからなくて作るに至っていません。なので僕に直接会ったときにでも説明していただけるとノリノリ

                                  WordPress のテーマ編集にシンタックスハイライトを適用する「CodeMirror for Wordpress」を作りました - localdisk
                                • GitHub - codemirror/codemirror5: In-browser code editor (version 5, legacy)

                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                    GitHub - codemirror/codemirror5: In-browser code editor (version 5, legacy)
                                  • CodeMirror

                                    Extensible Code Editor CodeMirror is a code editor component for the web. It can be used in websites to implement a text input field with support for many editing features, and has a rich programming interface to allow further extension. This is a CodeMirror field, configured for editing JavaScript code. Features Accessibility Works well with screen readers and keyboard-only users. Mobile Support

                                    • node.js+socket.ioでcodemirror editorを同時編集してみる - すぎゃーんメモ

                                      node.jsでchatアプリっぽいもの作るメモ - すぎゃーんメモ node.js+socket.ioでライブコーディング的なものを作るメモ - すぎゃーんメモ node.js+socket.io+oauth+SessionWebSocketでログイン付きチャットを作るメモ - すぎゃーんメモ に引き続き、第4弾。 js製editorで編集情報をSocket.IOで送りつつ、他から送られてきた編集情報を反映する、複数人同時編集エディター的なもの。 sample: http://www1216u.sakura.ne.jp:3002/ source: https://github.com/sugyan/node-editor エディタはcodemirrorというものを持ってきて使用した。 CodeMirror コードの内容変更のイベントが取れたり局所的な変更も可能で、plugin的にpars

                                        node.js+socket.ioでcodemirror editorを同時編集してみる - すぎゃーんメモ
                                      • Firefox Developer Tools: Episode 27 – Edit as HTML, Codemirror & more – Mozilla Hacks - the Web developer blog

                                        Firefox Developer Tools: Episode 27 – Edit as HTML, Codemirror & more Firefox 27 was just uplifted to the Aurora release channel which means we are back to report on new features in Firefox Developer Tools. Below are just some of the new features, you can also take a look at all bugs resolved in DevTools for this release). JS Debugger: Break on DOM Events You can now automatically break on a varie

                                          Firefox Developer Tools: Episode 27 – Edit as HTML, Codemirror & more – Mozilla Hacks - the Web developer blog
                                        • CodeMirrorでスマホからの日本語入力をなんとかする - Qiita

                                          この問題は本家でIssueにもなっている。 解決方法 イベントの流れをみると、どうやらIME入力中にkeypressとかkeydownが発生するのが主な原因だったようなので、IME入力中のkeypressはキャンセルするようにした。 cm = CodeMirror.fromTextArea(textarea, {inputStyle: 'contenteditable'}) if(UserAgentがモバイルであれば) { const origOnKeyPress = cm.display.input.onKeyPress // 元のkeypressを取得 cm.display.input.onKeyPress = function(e) { // iOSの絵文字キーボードのように、サロゲートペアの直接のkeypressは、CodeMirrorの処理を通すと文字化けるのでキャンセルする i

                                            CodeMirrorでスマホからの日本語入力をなんとかする - Qiita
                                          • CodeMirror: Internals

                                            (Re-) Implementing A Syntax-Highlighting Editor in JavaScript Topic: JavaScript, code editor implementation Author: Marijn Haverbeke Date: March 2nd 2011 (updated November 13th 2011) Caution: this text was written briefly after version 2 was initially written. It no longer (even including the update at the bottom) fully represents the current implementation. I'm leaving it here as a historic docum

                                            • 2022-06-28のJS: ECMAScript 2022、TypeScript 4.8 Beta、CodeMirror 6


                                              JSer.info #598 - ECMAScript 20222022-06Ecma International GA() Ecma International approves new standards - Ecma International ES2022Public/PrivateTop-Level awaitStringArrayat()Error Cause Ecma International approves ECMAScript 2022: Whats new?  JavaScriptES2022 JavaScriptjspri
                                                2022-06-28のJS: ECMAScript 2022、TypeScript 4.8 Beta、CodeMirror 6
                                              • CodeMirror - hogehoge @teramako

                                                Ubiquity 0.1.2を入れてみた。んで、コードエディター内のコードがハイライトされることに驚いた。 興味がわいてソースコードを見てみると、codemirror.jsというのが使われている様だ。 こいつは何だ? ってことで検索するとFirebugの機能を拡張する | OSDN Magazineが引っかかる。どうもRainbow for Firebugにも使われているJavaScriptパーサ & ハイライトをするライブラリらしい。 CodeMirror: In-browser code editing CodeMirror: JavaScript demonstration(実際のエディタの例) ちょっと前からこの手のエディタがどうやって実現させているか気になっていたので、中身をもう少し探ってみた。 HTMLにはtextareaが用意されていれば良い textarea要素を引数にライ

                                                  CodeMirror - hogehoge @teramako
                                                • 2015-02-23のJS: Underscore.js 1.8.0、CodeMirror 5.0、Web Audio入門

                                                  JSer.info #216 - Underscore.js 1.8.0がリリースされています。 1.8.0ではファイルサイズの削減を目的としたコミットによりIE8の互換性がなくなる問題がありましたが、1.8.1と1.8.2で一部修正されています。また1.8.0では_.isErrorや_.mapObjectなどいくつかメソッドが追加されています。 http://underscorejs.org/#changelog Go on a Diet · Issue #2060 · jashkenas/underscore リリース直前に1.8.0に入る予定だったメソッド名の一部が変更されているので、masterを直接使っていた場合には注意が必要です。 Discuss latest changes to master before releasing · Issue #2061 · jashkena

                                                    2015-02-23のJS: Underscore.js 1.8.0、CodeMirror 5.0、Web Audio入門
                                                  • 画像を選択してテキストエリアなどにパスを挿入するjQueryプラグイン(CodeMirror対応)

                                                    Posted: 2012.06.29 / Category: javascript / Tag: jQuery 局地的にしか使用できませんが、管理画面などで画像一覧を表示させて選択するとテキストエリアにパスを挿入するプラグインです。 Code Mirrorというテキストエリアを快適にするプラグインに対応しています。 準備 画像を一覧表示するhtmlを作ります。 基本的にBootstrapなマークアップにしています。 media-list1.html <section id="media-list"> <table class="table table-striped table-bordered table-condensed"> <thead> <tr> <th></th> <th>ID</th> <th>Title</th> <th>Image</th> </tr> </thead>

                                                      画像を選択してテキストエリアなどにパスを挿入するjQueryプラグイン(CodeMirror対応)
                                                    • CodeMirrorでテキストフィールドを拡張する - Qiita

                                                      俺の考えた最強のTODOリストを作るために便利なテキストフィールドを作ってみます。 See the Pen Custom CodeMirror TextField by Yuki Takemoto (@mottox2) on CodePen. なぜCodeMirrorか TextFieldにハイライトをつけるには、まずはcontenteditableを使った、WYSIWYGエディタによく使われる方法が考えられますが、これを生で触るのは非常に大変です。なので便利なライブラリに頼ります。 調べたところCodeMirrorがいいのではと感じたのでCodeMirrorを使っていきます。1 CodeMirrorは、Web上で動いて、JSなどのコードにハイライトをつけることの出来るライブラリです。 各言語のハイライトはmodeという形で管理されていて、自分でmodeを追加することができます。つまり、独

                                                        CodeMirrorでテキストフィールドを拡張する - Qiita
                                                      • [CodeMirrorのオプションのざっくり日本語訳] by シロのITメモ

                                                        以前のブログ、syntaxhighlighterからCodeMirrorへ引越しで書いた CodeMirrorのオプションとCSSのクラスについて、超ざっくりな日本語訳を書いてみました。 より詳しくは、本家サイトをご確認下さい。 独断と偏見で、重要そうなオプションに、★を付けています。(多い方がより重要)

                                                        • jsfiddle of codemirror live widgets

                                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                            jsfiddle of codemirror live widgets
                                                          • marijnh/CodeMirror2 · GitHub

                                                            Dismiss Octotip: You've activated the file finder by pressing t Start typing to filter the file list. Use ↑ and ↓ to navigate, enter to view files.

                                                            • CodeMirrorを使って、コードをハイライト表示

                                                              GistクローンのHesoをDebianで動かす http://symfoware.blog68.fc2.com/blog-entry-1047.html ここでHesoをインストールしました。 軽く触ってみて驚いたのが、ソースコードを入力するエディタ。 リアルタイムでハイライトし、括弧・閉じ括弧の対応をわかりやすく表示してくれます。 こいつは一体何者なんだろうと思ってソースを見てみると、 CodeMirrorというライブラリらしい。 http://codemirror.net/ ヘルプが充実しているのですが、軽く使い方をメモしておきます。 ダウンロード http://codemirror.net/ 「Download the latest release」をクリック codemirror.zipがダウンロードできます。 解凍するといくつかフォルダが出てきますが、最低限必要なのは、 「li

                                                                CodeMirrorを使って、コードをハイライト表示
                                                              • CodeMirror 5 User Manual

                                                                User manual and reference guide version 5.65.16 CodeMirror is a code-editor component that can be embedded in Web pages. The core library provides only the editor component, no accompanying buttons, auto-completion, or other IDE functionality. It does provide a rich API on top of which such functionality can be straightforwardly implemented. See the addons included in the distribution, and 3rd par

                                                                • Draft.js と Slate.js と CodeMirror の感想


                                                                   Web  Electron Draft.jsSlate.jsCodeMirror   Server-Side Rendering  React  ComponentDidMount  Draft.js Decorator  DOM 
                                                                    Draft.js と Slate.js と CodeMirror の感想
                                                                  • GitHub - tinymce-plugins/codemagic: CodeMagic is an advanced source code editor plugin for Tinymce. It integrates the CodeMirror library for syntax coloring, and the JSBeautifier library for code formating and indentation.

                                                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                      GitHub - tinymce-plugins/codemagic: CodeMagic is an advanced source code editor plugin for Tinymce. It integrates the CodeMirror library for syntax coloring, and the JSBeautifier library for code formating and indentation.
                                                                    • CodeMirrorでショートカットキーを追加する、あるいはJenkins Coreへの初めてのコミット - @ikikko のはてなブログ


                                                                      ikikko CodeMirror  CodeMirrorJSC, JavaRuby/PythonHTML/CSS/JavaScript CodeMirrorIFramedisplay:noneIFramesubmit
                                                                      • CodeMirror 6.0

                                                                        CodeMirror 6 is a new code editor library for the web, a from-scratch implementation based on the experience of building and maintaining versions 1 to 5 for the past 13 years. It aims to be more extensible and accessible than previous versions. As of today, version 6.0 is stable. Going forward, probably at least several years, all new releases will be under the 6 major version, and be backwards co

                                                                        1