mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Update language definitions with some of the latest changes (remove auto-injected rules).
Allow search in chat input.
This commit is contained in:
@@ -222,6 +222,7 @@ LLMChatUI::LLMChatUI( PluginManager* manager ) :
|
||||
mChatInput->setFoldDrawable( findIcon( "chevron-down", PixelDensity::dpToPxI( 12 ) ) );
|
||||
mChatInput->setFoldedDrawable( findIcon( "chevron-right", PixelDensity::dpToPxI( 12 ) ) );
|
||||
mChatInput->setAllowSelectingTextFromGutter( false );
|
||||
mChatInput->setFindReplaceEnabled( true );
|
||||
|
||||
mChatInput->setSyntaxDefinition( markdown );
|
||||
|
||||
@@ -905,7 +906,7 @@ void LLMChatUI::doRequest() {
|
||||
auto* thinking = editor->findByClass<UIImage>( "thinking" );
|
||||
auto thinkingID = String::hash( String::format( "thinking-%p", thinking ) );
|
||||
thinking->setVisible( true );
|
||||
thinking->setPosition( { PixelDensity::dpToPx( 8 ), PixelDensity::dpToPx( 4 ) } );
|
||||
thinking->setPosition( { PixelDensity::dpToPx( 8 ), PixelDensity::dpToPx( 3 ) } );
|
||||
thinking->setInterval( [thinking] { thinking->rotate( 360 / 32 ); }, Seconds( 0.125 ),
|
||||
thinkingID );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user