Commit Graph
4 Commits
Author SHA1 Message Date
Rubén Rincón Blanco a92083a3a4 Adds some useful features for some people (#3081)
Closes #2974 and addresses a request made in Discord
2021-11-21 13:45:01 +01:00
Mats Larsen 5876fd41b6 Actually use the setting style in the format api (#3091)
The formatter-registry will now use the site settings when querying the Format API. For compilers that do not support multiple styles, __DefeaultStyle is passed.
2021-11-07 23:27:26 +01:00
Mats Larsen 3c58e69c94 Fix missing FormatBase variants in settings.interfaces.ts (#2950) 2021-09-21 20:03:21 +02:00
Mats LarsenandPatrick Quist d93bd31f40 Add base Pane component and migrate RustMirView to TypeScript (#2917)
* Implement generic pane skeleton

* Implement abstract Pane class

* Port RustMirView to typescript

* Fix nits in code

* Adjust method names and add override modifiers

* Add remaining settings keys (and fix a bug)

* Use this-binding in registerStandardCallbacks

* Address review comments

* Use utils.updateAndCalcTopBarHeight in base pane

* Add notice about adding an entry in interfaces.ts

* Use .bind instead of context parameter

GoldenLayout has moved away from the context parameter, so .bind is a safer for the future

* [200~Check for editor presence + fix typo~

* Remove trailing comma

Co-authored-by: Patrick Quist <partouf@gmail.com>
2021-09-10 23:42:47 +02:00