-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix forward SyncTex accuracy in internal browser by providing a range…
… location indication alternative (#4194) * Add forward SyncTex with range location indication. * Remain default behavior of using red circle for forward SyncTex. * Remove unused column parameter in callSyncTeXToPDFRange. * Merged configuration `latex-workshop.synctex.indicator.type` to `latex-workshop.synctex.indicator.enabled`. Added fallback logic in `toPDF` for boolean type of `latex-workshop.synctex.indicator.enabled`. Extend type `SyncTeXRecordToPDFAll` from base type `SyncTeXRecordToPDF`. Merged `locateRange` to `locate`. Remove `SyncTeXRecordToPDFAllList`. Merged `callSyncTeXToPDFRange` to `callSyncTeXToPDF`. In `ServerResponse`, added and extended type `SynctexData` from base type `SynctexRangeData`. * Merged `forwardSynctexRange` with `forwardSynctex` in viewer. * Indent fixing. * Change the enum name. Simplify if-else clauses. Change rectangle default color. Add comments. * Code style tweaks --------- Co-authored-by: James Yu <[email protected]>
- Loading branch information
Showing
7 changed files
with
243 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.