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 f4413f7 commit e09d391Copy full SHA for e09d391
src/query_editor.rs
@@ -43,6 +43,7 @@ pub fn query_editor() -> impl IntoView {
43
44
let e = CodeEditor::create(html_element, Some(options));
45
let keycode = monaco::sys::KeyMod::win_ctrl() as u32 | monaco::sys::KeyCode::Enter.to_value();
46
+ // TODO: Fix this
47
e.as_ref().add_command(
48
keycode.into(),
49
Closure::<dyn Fn()>::new(|| ()).as_ref().unchecked_ref(),
src/store/query.rs
@@ -103,6 +103,7 @@ impl QueryState {
103
editor_state.set_value(&query);
104
}
105
106
+ // TODO: improve this
107
fn find_query_for_line(&self, queries: &str, line_number: f64) -> Option<QueryInfo> {
108
let mut start_line = 1f64;
109
let mut end_line = 1f64;
0 commit comments