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:
@@ -14,6 +14,7 @@ use alt_screen::{run_find_on_alt_screen, AltScreenFindRun};
|
||||
pub use async_find::{AsyncFindController, AsyncFindStatus};
|
||||
use block_list::run_find_on_block_list;
|
||||
pub use block_list::{BlockGridMatch, BlockListFindRun, BlockListMatch};
|
||||
use galaxyui::{AppContext, Entity, EntityId, ModelContext, SingletonEntity, ViewHandle};
|
||||
use parking_lot::FairMutex;
|
||||
use rich_content::FindableRichContentHandle;
|
||||
pub use rich_content::{FindableRichContentView, RichContentMatchId};
|
||||
|
||||
@@ -586,7 +586,7 @@ impl AsyncFindController {
|
||||
|
||||
// Sort by TotalIndex descending so that matches closest to the end
|
||||
// of the blocklist (newest blocks, near the prompt) come first.
|
||||
ordered_blocks.sort_by(|a, b| b.0.cmp(&a.0));
|
||||
ordered_blocks.sort_by_key(|b| std::cmp::Reverse(b.0));
|
||||
|
||||
let reverse_within_block = matches!(
|
||||
self.block_sort_direction,
|
||||
|
||||
@@ -3,10 +3,9 @@ use std::collections::HashMap;
|
||||
use std::iter;
|
||||
use std::ops::RangeInclusive;
|
||||
|
||||
use galaxyui::{units::Lines, AppContext, EntityId};
|
||||
use itertools::Itertools;
|
||||
use galaxyui::units::Lines;
|
||||
use galaxyui::{AppContext, EntityId};
|
||||
use itertools::Itertools;
|
||||
|
||||
use super::rich_content::{FindableRichContentHandle, RichContentMatchId};
|
||||
use super::FindOptions;
|
||||
|
||||
Reference in New Issue
Block a user