Fix cursor focus and selection in input box, add AWS env var warning box, and remove AWS Bedrock login banner
This commit is contained in:
@@ -5,13 +5,6 @@ use std::sync::Arc;
|
||||
|
||||
use arborium::tree_sitter::{InputEdit, Parser, Tree};
|
||||
use futures::stream::AbortHandle;
|
||||
use languages::Language;
|
||||
use parking_lot::Mutex;
|
||||
use queries::highlight_query::HighlightQuery;
|
||||
pub use queries::highlight_query::{ColorMap, TextSlice};
|
||||
use queries::indent_query::{indentation_delta, IndentDelta};
|
||||
use rangemap::{RangeMap, RangeSet};
|
||||
use string_offset::{ByteOffset, CharOffset};
|
||||
use galaxy_editor::content::buffer::{Buffer, BufferSnapshot};
|
||||
use galaxy_editor::content::edit::PreciseDelta;
|
||||
use galaxy_editor::content::text::IndentUnit;
|
||||
@@ -20,6 +13,13 @@ use galaxy_editor::decoration::DecorationLayer;
|
||||
use galaxyui_core::color::ColorU;
|
||||
use galaxyui_core::text::point::Point;
|
||||
use galaxyui_core::{AppContext, Entity, ModelContext, WeakModelHandle};
|
||||
use languages::Language;
|
||||
use parking_lot::Mutex;
|
||||
use queries::highlight_query::HighlightQuery;
|
||||
pub use queries::highlight_query::{ColorMap, TextSlice};
|
||||
use queries::indent_query::{indentation_delta, IndentDelta};
|
||||
use rangemap::{RangeMap, RangeSet};
|
||||
use string_offset::{ByteOffset, CharOffset};
|
||||
|
||||
const MAX_SYNTAX_TREES: usize = 3;
|
||||
|
||||
|
||||
@@ -2,12 +2,12 @@ use std::iter;
|
||||
use std::ops::Range;
|
||||
|
||||
use arborium::tree_sitter::{Node, Query, QueryCursor, TextProvider, Tree};
|
||||
use rangemap::RangeMap;
|
||||
use streaming_iterator::StreamingIterator;
|
||||
use string_offset::{ByteOffset, CharOffset};
|
||||
use galaxy_editor::content::buffer::{Buffer, ToBufferByteOffset, ToBufferCharOffset};
|
||||
use galaxy_editor::content::text::Bytes;
|
||||
use galaxyui_core::color::ColorU;
|
||||
use rangemap::RangeMap;
|
||||
use streaming_iterator::StreamingIterator;
|
||||
use string_offset::{ByteOffset, CharOffset};
|
||||
|
||||
/// Color mapping from parsed syntax token name to its corresponding highlighting color.
|
||||
#[derive(Clone, Copy)]
|
||||
|
||||
@@ -3,9 +3,8 @@ use std::ops::Range;
|
||||
|
||||
use arborium::tree_sitter::{Node, Query, QueryCursor, Tree};
|
||||
use galaxy_editor::content::buffer::Buffer;
|
||||
use galaxyui::text::point::Point;
|
||||
use streaming_iterator::StreamingIterator;
|
||||
use galaxyui_core::text::point::Point;
|
||||
use streaming_iterator::StreamingIterator;
|
||||
|
||||
use super::highlight_query::TextBuffer;
|
||||
|
||||
|
||||
@@ -4,10 +4,9 @@ use arborium::tree_sitter::Tree;
|
||||
use galaxy_editor::content::buffer::{Buffer, BufferSnapshot};
|
||||
use galaxy_editor::content::selection_model::BufferSelectionModel;
|
||||
use galaxy_editor::content::text::IndentBehavior;
|
||||
use galaxy_util::standardized_path::StandardizedPath;
|
||||
use galaxyui::App;
|
||||
use languages::{language_by_filename, Language};
|
||||
use galaxy_util::standardized_path::StandardizedPath;
|
||||
use galaxyui_core::App;
|
||||
|
||||
use super::*;
|
||||
use crate::SyntaxTreeState;
|
||||
|
||||
Reference in New Issue
Block a user