We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9bf444 commit 74a82e5Copy full SHA for 74a82e5
src/engines/tex.rs
@@ -21,7 +21,7 @@ pub enum TexResult {
21
Errors,
22
}
23
24
-#[derive(Debug,Default)]
+#[derive(Debug)]
25
pub struct TexEngine {
26
// One day, the engine will hold its own state. For the time being,
27
// though, it's just a proxy for the global constants in the C code.
@@ -31,6 +31,15 @@ pub struct TexEngine {
31
synctex_enabled: bool,
32
33
34
+impl Default for TexEngine {
35
+ fn default() -> Self {
36
+ TexEngine {
37
+ halt_on_error: true,
38
+ initex_mode: false,
39
+ synctex_enabled: false,
40
+ }
41
42
+}
43
44
impl TexEngine {
45
pub fn new () -> TexEngine {
0 commit comments