Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should format format the code in place? #10

Closed
gero3 opened this issue Dec 31, 2014 · 2 comments
Closed

Should format format the code in place? #10

gero3 opened this issue Dec 31, 2014 · 2 comments

Comments

@gero3
Copy link
Collaborator

gero3 commented Dec 31, 2014

Since we start using code mirror, it seems more logically to format the code directly in code mirror instead of a new text area.

@zz85
Copy link
Owner

zz85 commented Dec 31, 2014

that's an option. but when you first mentioned diffing, i was planning to use http://codemirror.net/demo/merge.html

@zz85
Copy link
Owner

zz85 commented Dec 31, 2014

indeed this line

codeEditor.setValue( checker.formatString(code + '\n') );

works well out of the box. however, it does "spoil the fun" of trying to format the code by hand...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants