Repository navigation
Version 2.0 - #78
Version 2.0#78
Conversation
There was a problem hiding this comment.
💣 💣 💣 💣 💣
file.name is not escaped
💣 💣 💣 💣 💣
|
@tomneedham needs rebase - THX furthermore I'd like to ask you to do this in baby steps - a WIP-PR with more then 60k SLOC is never going to be reviewed properly |
|
Ah the 60k will be the ace version update. May well be easier to leave that out to make reviewing on github easier. The reason I didn't do this in baby steps (until now) is that I completely rewrote the javascript using objects so the code is pretty hard to compare to previous versions. But yes, I should get this to at least the current state of features and get that in before adding more fluff! |
This is basically this commit - right? a482717 Maybe update ace in it's own PR? |
That's the plan |
|
Great stuff here man! Looks nice with the overlay, and just showing the filename instead of the clunky full path. Good calls there! Will testdrive it too. |
|
@tomneedham pushed some design fixes. One important thing which doesn’t work right now is that it should of course automatically save when you close the document! :) |
How can I close the document without saving then? I didn't tried it yet but on the screen shot I see a save button and a "X". My assumption would be that the X closes the window without saving. |
|
I imagined it would maintain the current functionaly:
|
|
Every last-generation editor asks you if you want to save, before you quit. The current-gen editors (like Sublime) just keep the saved changes inside the editor. Closing the editor to get rid of all changes is a really bad outdated system. Autosave and the ability to undo (we have versions, folks) surpassed that in many apps. We should do so too. |
Add api that allows other app to register "previews" by mimetype
|
@jancborchardt Retest please. |
|
@MorrisJobke You too :) |
|
and @icewind1991 |
|
👍 |
|
@DeepDiver1975 also. |
|
Really awesome 👍 I fixed the icon stuff for IE8 and it even works there |
|
In safari the highlighted text when searching for a string is moved one character to the right. |
|
Let’s merge this before it gets too big. Any small issues we should do in follow-up pull requests. 👍 great work @tomneedham! |
Rewrite of the editors js file, as started at the Nürnberg hack week. The main differences are that the code is rewritten inside the OCA.Files_Texteditor namespace. Functionality is very similar, with the exception of autosave. More complete changelog below:
Bugs:
Screenshot of the current state:

