Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
Version 0.8 is out now – new versions of CodeMirror (3.01) & Emmet (1.3.3) + match-highlighting and full-screen search.
Simon
Offline
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
Idea: I’d like to use this editor full screen most of the time, and I’d love a keybinding to “save” so I could stay in full screen. Any thoughts?
Offline
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
Add cmd/ctrl – s for save, see Jukka blog
Offline
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
sacripant wrote #278539:
Add cmd/ctrl – s for save, see Jukka blog
Good call… for some reason, when I save it reloads the page and goes back to non-full-screen… wonder what I’m doing wrong…
Offline
#29 2014-10-13 08:09:06
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
There’s an annoying problem: when I am in the
Presentation => Pages (for example)
the bottom part of the menus Presentation, Administraton and Extentions (I have many) are hided by the code window.
I use Remora admin style.
Last edited by candyman (2014-10-13 08:09:56)
Offline
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
Hello candyman
Please download the new version – which includes CodeMirror 4.6 – and make sure you completely delete your old codemirror directory.
Simon
Offline
#31 2014-10-13 18:27:10
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
I’ve done with no results.
BTW, I’ve add 4 strings of the Language Pack in Italian: if I want to change the translation how can I modify the Language Pack?
Must re-add the 4 strings with a different translation?
Last edited by candyman (2014-10-13 19:13:12)
Offline
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
Version 1.0 is now released. It requires CodeMirror 5.0 and adds a couple of new features (highlight Plugin composer code page & an Emmet on/off switch).
Simon
Offline
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
Hey, anyone. Would this plugin handle a modest chore like this? Or is it kind of overkill? Mainly just concerned about the Write panel editor for Textile, and possibly Markdown if we could make it work on wet’s Markdown filter too.
Offline
#34 2015-10-13 12:52:27
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
Offline
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
I’m working on a new version, with code-folding and tag-matching — I’ll look at adding Write tab support too for Textile/Markdown.
Offline
Re: spf_codemirror - syntax-highlighting and code-completion admin plugin
spiffin wrote #295680:
I’m working on a new version, with code-folding and tag-matching — I’ll look at adding Write tab support too for Textile/Markdown.
It’ll be great if this works with the (improved) pages/forms panel layouts in 4.6 (currently in the admin-layout-update branch).
Offline