Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
218 changes: 1 addition & 217 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ default = ["gui"]
# `quadraui/gtk` enables the public `quadraui::gtk::draw_*` rasterisers
# (#223). vimcode adopts them one primitive at a time inside
# `src/gtk/quadraui_gtk.rs`.
gui = ["gtk4", "relm4", "pangocairo", "gio", "quadraui/gtk"]
gui = ["gtk4", "pangocairo", "gio", "quadraui/gtk"]

[dependencies]
# `quadraui/tui` enables the public `quadraui::tui::draw_*` rasterisers
Expand All @@ -51,7 +51,6 @@ gui = ["gtk4", "relm4", "pangocairo", "gio", "quadraui/gtk"]
# currently disabled — see `.github/workflows/*.disabled`.
quadraui = { path = "../quadraui/quadraui", features = ["tui", "terminal"] }
gtk4 = { version = "0.7", features = ["v4_10"], optional = true }
relm4 = { version = "0.7", optional = true }
pangocairo = { version = "0.18", optional = true }
ropey = "1.6.1"
tree-sitter = "0.26"
Expand Down
6 changes: 6 additions & 0 deletions src/core/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ pub struct RegisteredAccelerator {
/// (`(ctrl, shift, alt, key_name)`). `None` if the binding string is
/// unparseable; the registration is still kept so `unregister_accelerator`
/// can find it by id.
/// Dead in ShellApp mode until GTK accelerator lookup is re-wired.
#[allow(dead_code)]
pub parsed: Option<(bool, bool, bool, String)>,
}

Expand Down Expand Up @@ -1538,6 +1540,8 @@ pub struct PanelHoverPopup {

impl PanelHoverPopup {
/// Whether this hover comes from a native (trusted) panel like source_control.
/// Dead in ShellApp mode until panel hover is re-wired (#448-C follow-on).
#[allow(dead_code)]
pub fn is_native(&self) -> bool {
self.panel_name == "source_control"
}
Expand Down Expand Up @@ -4347,6 +4351,8 @@ impl Engine {
/// is_space, is_escape)` shape they already use with
/// [`crate::render::matches_key_binding`], so this slots into existing
/// key-handler sites without translation.
/// Dead in ShellApp mode until GTK accelerator matching is re-wired (#448-C follow-on).
#[allow(dead_code)]
#[allow(clippy::too_many_arguments)]
pub fn match_accelerator(
&self,
Expand Down
3 changes: 3 additions & 0 deletions src/core/engine/motions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3298,6 +3298,9 @@ impl Engine {
///
/// - `Ctrl+N` / `Ctrl+P` — always (start or cycle word completion).
/// - `Tab` / `Down` / `Up` — only while a display-only popup is active.
///
/// Dead in ShellApp mode until completion key intercept is re-wired (#448-C follow-on).
#[allow(dead_code)]
pub fn insert_completion_intercepts_key(&self, key_name: &str, ctrl: bool) -> bool {
if self.mode != Mode::Insert {
return false;
Expand Down
Loading