Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though

This commit is contained in:
Ryan Ward
2026-05-07 11:29:34 -05:00
parent f4e2475c60
commit a41cbd8cc7
2433 changed files with 14208 additions and 9409 deletions
+3 -3
View File
@@ -18,9 +18,9 @@ use queries::{
};
use rangemap::{RangeMap, RangeSet};
use string_offset::{ByteOffset, CharOffset};
use warpui::{color::ColorU, AppContext, Entity, ModelContext, WeakModelHandle};
use galaxyui::{color::ColorU, AppContext, Entity, ModelContext, WeakModelHandle};
use warp_editor::{
use galaxy_editor::{
content::{
buffer::{Buffer, BufferSnapshot},
edit::PreciseDelta,
@@ -29,7 +29,7 @@ use warp_editor::{
},
decoration::DecorationLayer,
};
use warpui::text::point::Point;
use galaxyui::text::point::Point;
const MAX_SYNTAX_TREES: usize = 3;
@@ -4,11 +4,11 @@ use arborium::tree_sitter::{Node, Query, QueryCursor, TextProvider, Tree};
use rangemap::RangeMap;
use streaming_iterator::StreamingIterator;
use string_offset::{ByteOffset, CharOffset};
use warp_editor::content::{
use galaxy_editor::content::{
buffer::{Buffer, ToBufferByteOffset, ToBufferCharOffset},
text::Bytes,
};
use warpui::color::ColorU;
use galaxyui::color::ColorU;
/// Color mapping from parsed syntax token name to its corresponding highlighting color.
#[derive(Clone, Copy)]
@@ -2,8 +2,8 @@ use std::{collections::HashMap, ops::Range};
use arborium::tree_sitter::{Node, Query, QueryCursor, Tree};
use streaming_iterator::StreamingIterator;
use warp_editor::content::buffer::Buffer;
use warpui::text::point::Point;
use galaxy_editor::content::buffer::Buffer;
use galaxyui::text::point::Point;
use super::highlight_query::TextBuffer;
@@ -2,10 +2,10 @@ use std::sync::Arc;
use arborium::tree_sitter::Tree;
use languages::{language_by_filename, Language};
use warp_editor::content::buffer::{Buffer, BufferSnapshot};
use warp_editor::content::selection_model::BufferSelectionModel;
use warp_editor::content::text::IndentBehavior;
use warpui::App;
use galaxy_editor::content::buffer::{Buffer, BufferSnapshot};
use galaxy_editor::content::selection_model::BufferSelectionModel;
use galaxy_editor::content::text::IndentBehavior;
use galaxyui::App;
use crate::SyntaxTreeState;
@@ -15,7 +15,7 @@ use super::*;
fn mock_buffer_and_tree(text_content: &str, language: Arc<Language>) -> (Buffer, Tree) {
// Create a tree by parsing the text
let snapshot = BufferSnapshot::from_plain_text(text_content);
let tree = warpui::r#async::block_on(async {
let tree = galaxyui::r#async::block_on(async {
SyntaxTreeState::parse_text(snapshot, None, &language).await
});
@@ -55,7 +55,7 @@ fn test_indent_query() {
});
let buffer_snapshot = buffer_handle.read(&app, |buffer, _| buffer.buffer_snapshot());
let tree = warpui::r#async::block_on(async {
let tree = galaxyui::r#async::block_on(async {
SyntaxTreeState::parse_text(buffer_snapshot, None, &language).await
});
@@ -151,7 +151,7 @@ fn test_indent_query_on_go() {
});
let buffer_snapshot = buffer_handle.read(&app, |buffer, _| buffer.buffer_snapshot());
let tree = warpui::r#async::block_on(async {
let tree = galaxyui::r#async::block_on(async {
SyntaxTreeState::parse_text(buffer_snapshot, None, &language).await
});