Alasdair Smith
e2bb6dcecb
Pass option to encode range
...
To ensure backwards compat with clients not refreshing, pass a flag to enable
encoding. This way, old client won't receive encoded ranges, but also won't
have decoding logic. The flag can then be removed once all clients are up to
date
2017-09-21 14:23:39 +01:00
Alasdair Smith
b33929fa83
DRY up
2017-09-21 13:36:31 +01:00
Alasdair Smith
24f44889a7
First pass at decoding changes & comments in ranges
2017-09-21 13:25:19 +01:00
Alasdair Smith
66bed67270
Merge pull request #4 from sharelatex/as-client-auto-compile
...
Client-side auto compile
2017-09-19 15:20:07 +01:00
James Allen
ece7a4cbb7
Merge pull request #601 from sharelatex/ns-raise-safari-regex-count
...
Raising the limit on safari regex count
2017-09-18 11:16:49 +02:00
James Allen
1bafba8992
Merge pull request #586 from sharelatex/ns-add-SL-command-data
...
adding commands that appear in top 100 from SL-CLSI analysis
2017-09-18 11:16:41 +02:00
Nate Stemen
80c00b13f7
Raising the limit on safari regex count
2017-09-11 11:27:03 +01:00
Alasdair Smith
e2523c569e
Filter linting warnings
2017-09-07 17:45:16 +01:00
Alasdair Smith
9cde236bc8
Add comment explaining lint errors vs compile log errors
2017-09-07 11:28:36 +01:00
Alasdair Smith
8a8d98935b
Remove unnecessary linting check in annotations listener
...
When user starts typing, compile log annotations are replaced with linter ones,
so log errrors can be ignored for this purpose. Because we don't try to
autocompile unless the user types something
2017-09-07 10:04:10 +01:00
James Allen
b2257db2c2
Don't get confused by commands in arguments in autocomplete
2017-09-05 19:26:13 +02:00
Alasdair Smith
fc4a260d95
Ensure error is from linting not compile logs
2017-09-05 14:57:06 +01:00
Alasdair Smith
53bb4fdde0
Use var in root scope instead of event to track linting error
2017-09-05 14:57:06 +01:00
Alasdair Smith
c42b08fcff
Dispatch linting error event when changed
2017-09-05 14:57:06 +01:00
Alasdair Smith
65b2c42fad
Emit event when op is acknowledged
2017-09-05 14:57:06 +01:00
Nate Stemen
54af7fbdcb
adding in a few new commands that appear in SL-CLSI analysis
2017-08-31 10:39:46 +01:00
Shane Kilkelly
8a612df009
fix use of context helper in onChange
2017-08-31 08:59:38 +01:00
Shane Kilkelly
708afedeb4
Refactor out common code in AutocompleteManager.
...
(first pass)
2017-08-30 14:01:20 +01:00
Nate Stemen
adb26b1b94
forgot meta tag for "thebibiography"
2017-08-18 14:24:44 +01:00
Nate Stemen
fb4182cbb1
Merge branch 'master' into ns-autocomplete
2017-08-18 09:14:06 +01:00
Nate Stemen
42be1164bc
fixing environment duplication in autocomplete issue
2017-08-17 14:30:18 +01:00
Nate Stemen
d1b906db43
renaming and organizing
2017-08-16 17:55:43 +01:00
Nate Stemen
f253b7e8cb
fixing command duplication issue during suggestion
2017-08-16 17:40:01 +01:00
Nate Stemen
6e9b1c602b
fixing spaces vs. tabs issue
2017-08-14 18:02:51 +01:00
Nate Stemen
688f1e9e75
merged staticManager with snippetManager
2017-08-11 09:23:36 +01:00
James Allen
7538c8834f
Merge branch 'master' into ja-per-user-track-changes
2017-08-09 14:05:36 +02:00
James Allen
6c342a6e65
Merge branch 'master' into ja-update-ace
2017-08-04 10:39:53 +02:00
Nate Stemen
769875c5d5
Adding default autocomplete commands w/ argument options
2017-08-03 16:31:46 +01:00
Shane Kilkelly
8a0f58c63d
Use correct character width
2017-08-01 14:28:10 +01:00
Shane Kilkelly
3ffef7fe56
Dynamically adjust the width of autocomplete popup.
2017-08-01 13:40:30 +01:00
Paulo Reis
fbce49f5cd
Merge branch 'master' into ja-per-user-track-changes
2017-08-01 10:56:02 +01:00
Shane Kilkelly
f057f788e3
Autocomplete for graphics
2017-07-31 14:51:22 +01:00
Shane Kilkelly
eeabac7698
Get graphics paths from preamble
2017-07-31 11:28:52 +01:00
Shane Kilkelly
eaf9ae5b94
Begin work on autocomplete for includegraphics
2017-07-31 09:34:58 +01:00
Shane Kilkelly
70e5279ba2
Don't autocomplete for commands like \\
, \[
, \:
, etc
2017-07-14 13:52:18 +01:00
Shane Kilkelly
f66982dd8b
Consistently delete back to last backslash
2017-07-13 10:23:45 +01:00
Shane Kilkelly
75b0e0cf51
Don't offer autocomplete for double-backslash
2017-07-13 10:22:51 +01:00
Shane Kilkelly
952a765235
Inteligently rank exact match highest
2017-07-12 11:33:45 +01:00
Shane Kilkelly
c8a21cdcf5
WIP: sort definite real commands from possible incidentals
2017-07-12 09:25:39 +01:00
Shane Kilkelly
1fb036811a
Temporarily remove up-ranking of exact match
2017-07-11 11:34:31 +01:00
James Allen
710c89a629
Support per user track changes (proof of concept)
2017-07-07 10:38:13 +01:00
Shane Kilkelly
04c94760f5
Merge branch 'sk-auto-pair-braces' into sk-ac-improvements-integration
2017-07-06 14:39:28 +01:00
Shane Kilkelly
330e3dccc3
Merge branch 'sk-ac-rank-exact-match-highest' into sk-ac-improvements-integration
2017-07-06 14:39:08 +01:00
Shane Kilkelly
611f8825d7
Merge branch 'sk-ac-prevent-double-insertion' into sk-ac-improvements-integration
2017-07-06 14:39:00 +01:00
Shane Kilkelly
9ac15c9d47
Merge branch 'sk-ac-more-eager-trigger' into sk-ac-improvements-integration
2017-07-06 14:38:44 +01:00
Shane Kilkelly
98f96d6087
Merge branch 'sk-ac-disable-for-existing-environments' into sk-ac-improvements-integration
2017-07-06 14:38:07 +01:00
James Allen
01d709dff5
Remove latex beta mode
2017-07-06 11:59:44 +01:00
Shane Kilkelly
34b2012727
Enable (optional) auto-pairing for latex mode
2017-07-06 11:06:51 +01:00
Shane Kilkelly
68c942582f
Clean up the custom insertMatch function
2017-07-04 08:48:45 +01:00
Shane Kilkelly
08faa64b57
Add comment explaining the custom insertMatch
2017-07-03 15:20:36 +01:00