Brian Gough
49a06f8489
modal for lost connection
2016-11-03 12:37:44 +00:00
Brian Gough
91a590ad0e
update links from tender to wiki
2016-11-03 12:28:19 +00:00
Brian Gough
62b8c30d0b
make pollSavedStatus more robust against failure
...
check last ack timestamp and size of pending op
provide method to compute sharejs op size so we can check if pending
ops get too big
2016-11-03 11:28:23 +00:00
James Allen
11c24377cb
fix JSONstringifyWithCycles
2016-10-31 16:57:29 +00:00
James Allen
c2eb49845f
Revert "Make very simple shallow copy of aceDelta when there's an undo error"
...
This reverts commit 1d77a95f17dde6f8792bca1989d65952474b144c.
2016-10-31 16:56:49 +00:00
James Allen
26410690da
Make very simple shallow copy of aceDelta when there's an undo error
2016-10-31 16:47:13 +00:00
Brian Gough
8887ab78c0
improve ace mode recognition
2016-10-27 15:42:19 +01:00
Brian Gough
cb4380fa78
fix problem with setting syntax validation option
2016-10-26 15:08:29 +01:00
James Allen
c9925a3590
Handle reporting of cyclic objects to Sentry
2016-10-26 11:34:05 +01:00
Brian Gough
e9b5fc056d
fold aceEditor resetSession into session set up
...
it is not used elsewhere, and mode setting is now done during the
initialisation.
2016-10-20 16:03:55 +01:00
Brian Gough
7258e947a8
use ace modelist extension to auto-detect mode
2016-10-20 16:03:19 +01:00
Brian Gough
3a07b785db
disable auto insert of brackets and quotes in ace
2016-10-20 11:33:12 +01:00
James Allen
193766b437
Don't switch back to editor view when selecting a file in the history view
2016-10-19 10:43:53 +01:00
James Allen
05cd6e69a7
Add in extra sentry logging for undefined start in aceDelta
2016-10-18 16:37:40 +01:00
James Allen
c689937297
Merge pull request #338 from sharelatex/ja-track-changes
...
Ja track changes
2016-10-12 09:21:46 +01:00
Brian Gough
452f6117cd
remove console.log
2016-10-11 13:56:17 +01:00
James Allen
32d7bb16e5
Be more explicit with query string to turn on track changes
2016-10-11 09:40:15 +01:00
James Allen
9682af3981
Merge branch 'master' into ja-track-changes
...
Conflicts:
public/coffee/ide/history/HistoryManager.coffee
2016-10-10 17:10:10 +01:00
James Allen
0995ba5ee6
Add basic change tracking into editor behind a feature flag
2016-10-10 17:06:46 +01:00
James Allen
220759ee7a
Merge pull request #330 from sharelatex/ja-non-english-spell-check
...
Use comprehensive unicode letter regex for spell check matching
2016-10-10 08:54:56 +01:00
Brian Gough
9177544ed9
add left menu for syntax validator
2016-10-06 11:51:24 +01:00
James Allen
201012a131
Use comprehensive unicode letter regex for spell check matching
2016-10-04 11:24:48 +01:00
Brian Gough
0eaa359f6c
use syntax validator for beta programme users only
2016-09-23 15:19:40 +01:00
Brian Gough
d152095920
destroy ace sessions when no longer in use
...
also set mode to "latex" when session is created, to avoid setting mode
to "text" (default) and then to "latex" which causes the text worker to
be unnecessarily created and destroyed.
2016-09-23 15:19:40 +01:00
Brian Gough
0a350c8e3f
infrastructure for using ace syntax checking
2016-09-23 15:19:40 +01:00
Brian Gough
cb4f6391a2
updated comments
2016-08-16 10:59:27 +01:00
Brian Gough
7863b7cab6
when calling gotoLine also scrollToLine to put line in view
2016-08-11 16:46:30 +01:00
Brian Gough
daa1d80865
add extra delay to gotoLine event
2016-08-11 16:46:12 +01:00
Brian Gough
a3c8202d0e
support jumping to position with line and column from log entries
2016-07-29 14:59:48 +01:00
Shane Kilkelly
72c9c3f020
If there are no completions matching, detach the completer.
...
This prevents an invisible completer from swallowing keystrokes such as up/down
2016-07-26 15:54:33 +01:00
Paulo Reis
d6c966934d
Set the key binding which is reported on Windows.
2016-06-21 16:53:50 +01:00
James Allen
345d38c28d
Don't clean up a documents event listener until after the socket has disconnected on error
2016-05-27 14:39:33 +01:00
James Allen
36c8c197e1
Add more debug log lines
2016-05-27 14:14:08 +01:00
James Allen
fec3266726
Don't remove new instance of Document from openDocs when cleaning up old instance
2016-05-27 14:13:53 +01:00
James Allen
a605dae7ba
Don't show saving just because of pending ops
...
When typing continuously, there is always a pending op present.
The only time we're not saving is if the inflight op isn't changing.
So long as this has changed, it means the previous one has been processed.
2016-05-27 14:08:46 +01:00
James Allen
4bc31ae2b9
Don't throw an error if we get an ack for our update more than once, since we may try sending it more than once
2016-05-27 10:46:14 +01:00
James Allen
6ea58d4d6c
Don't try to resend an update if the editor is not joined to the project
2016-05-27 10:46:14 +01:00
James Allen
39e57a9886
Throw fatal error if document update actually returns an error from the real-time service
2016-05-27 10:46:14 +01:00
James Allen
0175a86d4c
Add in debugging console.logs which only display if ?debug=true is in URL
2016-05-27 10:46:14 +01:00
Shane Kilkelly
ae85dc3f5d
Enable spaces after commas in references autocomplete
2016-05-12 15:13:00 +01:00
Shane Kilkelly
9eb2e933cd
enable autocomplete on citations like citeauthor
2016-05-12 12:03:08 +01:00
Shane Kilkelly
76697599ae
Use the _ide version of browserIsSafari
2016-04-11 14:45:26 +01:00
Shane Kilkelly
8d6003dcc5
Add commentary
2016-04-11 09:58:37 +01:00
Shane Kilkelly
4fd4a0372c
In Safari, limit iterations of the command-parsing loop.
2016-04-11 09:55:53 +01:00
Shane Kilkelly
059d3432c2
Allow citations like -parencite[page 6]{
to work.
2016-03-30 11:28:56 +01:00
Shane Kilkelly
11d77df898
Fix weird tab behaviour
2016-03-17 16:18:46 +00:00
Shane Kilkelly
020fd2e88d
De-dupe autocomplete entries
2016-03-17 15:58:57 +00:00
Shane Kilkelly
53b46e42cd
Refactor, take indentation into account.
2016-03-17 15:27:20 +00:00
Shane Kilkelly
229ced6f2f
Remove Indentation.
2016-03-17 14:43:34 +00:00
Shane Kilkelly
95a6e1900e
Add autocomplete entries for the end{}
commands
2016-03-17 14:09:45 +00:00