mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 18:46:29 +03:00
ecode: More minor improvements to the LSP plugin. Added rustfmt formatter, and added rust-analyzer LSP. Fixed plugins exit.
This commit is contained in:
@@ -170,10 +170,6 @@ bool AutoCompletePlugin::onKeyDown( UICodeEditor* editor, const KeyEvent& event
|
||||
return false;
|
||||
}
|
||||
|
||||
bool AutoCompletePlugin::onKeyUp( UICodeEditor*, const KeyEvent& ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool AutoCompletePlugin::onTextInput( UICodeEditor* editor, const TextInputEvent& ) {
|
||||
std::string partialSymbol( getPartialSymbol( &editor->getDocument() ) );
|
||||
if ( partialSymbol.size() >= 3 ) {
|
||||
@@ -252,9 +248,6 @@ void AutoCompletePlugin::update( UICodeEditor* ) {
|
||||
}
|
||||
}
|
||||
|
||||
void AutoCompletePlugin::preDraw( UICodeEditor*, const Vector2f&, const Float&,
|
||||
const TextPosition& ) {}
|
||||
|
||||
void AutoCompletePlugin::postDraw( UICodeEditor* editor, const Vector2f& startScroll,
|
||||
const Float& lineHeight, const TextPosition& cursor ) {
|
||||
std::vector<std::string> suggestions;
|
||||
|
||||
Reference in New Issue
Block a user