Project

General

Profile

Actions

Task #28853

closed

Upgrade CodeMirror to 3.0

Added by Stefan Neufeind over 13 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2011-08-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

details con CM1 vs. CM2 (or how to migrate):
http://groups.google.com/group/codemirror/browse_thread/thread/5a8e894024a9f580

In that thread it is mentioned the API should (hopefully) be mostly the same.


Related issues 9 (0 open9 closed)

Related to TYPO3 Core - Task #28854: Upgrade CodeMirror to 0.94ClosedTobias Liebig2011-08-09

Actions
Related to TYPO3 Core - Bug #53213: TypoScript Editor copy&paste BugsClosed2013-10-30

Actions
Related to TYPO3 Core - Bug #43743: Jumping scrollview upon accepting an auto-completionClosed2012-12-08

Actions
Related to TYPO3 Core - Bug #25554: Handling of tab indentation is faultyRejected2009-06-30

Actions
Related to TYPO3 Core - Task #80431: t3editor does not support PHP7 syntaxRejected2017-03-24

Actions
Related to TYPO3 Core - Bug #72657: Paste into t3editor does not workRejected2016-01-12

Actions
Related to TYPO3 Core - Task #81885: Remove TypoScript syntax highlighting and code completionClosed2017-07-15

Actions
Related to TYPO3 Core - Feature #81901: Refactor t3editorClosedAndreas Kienast2017-07-17

Actions
Has duplicate TYPO3 Core - Bug #32401: Update CodeMirror to version 2.xClosed2011-12-08

Actions
Actions #1

Updated by Susanne Moog over 13 years ago

  • Status changed from New to Accepted
  • Complexity set to medium

We need to check for compatibility and adjust what's not compatible, but that should be pretty easy.

Actions #2

Updated by Tobias Liebig about 13 years ago

For testing:
AFAIK within the core, only the t3editor and the extension manager (edit files) uses the codemirror library ATM. There might be some Extensions, which might use the library too.

Actions #3

Updated by Stefan Neufeind over 12 years ago

I had a closer look at it. Yes, t3editor and editing files should be the parts that need to be migrated.

Since the architecture of codemirror changed it's not that simply changing the codemirror-sources used. But the new architecture looks a lot simpler and more powerful to me, so I also see some value for cleaning up parts of the code during this migration.

Parts that need to be taken care of:
  • syntax-highlighting for typoscript: The original tokenizer/parser was written based upon a JavaScript-highlighter. I think we might use a similar highlighter shipped with codemirror as a basis and start to reimplement it. Architecture is much simpler now, and there are much more highlighters already shipped wiht codemirror. We might even want to re-contribute our highlighter for typoscript into the official distribution.
  • code-completion: Haven't tried how much of our current approach can be left as-is as a first step. The functions triggering the completion need to be changed a bit, but fetching the completion etc. should be possible to leave unchanged for now.

After that change is done we could, as a separate task, take a look whether the several divs, iframe etc. for the editor are still needed and how we could maybe reduce that overhead. There is also quite a bit of prototype-code involved.

Actions #4

Updated by Stefan Neufeind almost 12 years ago

3.0 released. We might want to consider going directly to the 3.0-tree.
If so, somebody please update the issue-title.

Actions #5

Updated by Stefan Galinski almost 12 years ago

  • Subject changed from Upgrade CodeMirror to 2.0 to Upgrade CodeMirror to 3.0
Actions #6

Updated by Alexander Opitz over 11 years ago

Release 20-06-2013: Version 3.14

Actions #7

Updated by Alexander Opitz about 10 years ago

Release 21-08-2014: Version 4.5

Actions #8

Updated by Felix Kopp about 10 years ago

Top!!

Actions #9

Updated by Stefan Neufeind almost 10 years ago

  • Target version set to 7.4 (Backend)
Actions #10

Updated by Susanne Moog over 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #11

Updated by Benni Mack about 9 years ago

  • Target version changed from 7.5 to 8 LTS
Actions #12

Updated by Riccardo De Contardi almost 8 years ago

Current codemirror version: 5.23.0

Actions #13

Updated by Georg Ringer over 7 years ago

I guess now we would use http://ckeditor.com/addon/codemirror

Actions #14

Updated by Benni Mack over 7 years ago

  • Target version changed from 8 LTS to Candidate for Major Version
Actions #15

Updated by Georg Ringer over 7 years ago

  • Related to Task #81885: Remove TypoScript syntax highlighting and code completion added
Actions #16

Updated by Andreas Kienast over 7 years ago

Actions #17

Updated by Andreas Kienast over 7 years ago

  • Status changed from Accepted to Closed

Closed in favor of #81901.

Actions

Also available in: Atom PDF