mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-11 17:17:42 +03:00
Minor fixes.
This commit is contained in:
@@ -3718,6 +3718,10 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe
|
||||
margin-bottom: 8dp;
|
||||
opacity: 0.8;
|
||||
}
|
||||
#panel tab::icon {
|
||||
margin-left: 0dp;
|
||||
margin-right: 0dp;
|
||||
}
|
||||
</style>
|
||||
<MainLayout id="main_layout" layout_width="match_parent" layout_height="match_parent">
|
||||
<Splitter id="project_splitter" layout_width="match_parent" layout_height="match_parent">
|
||||
|
||||
@@ -749,6 +749,8 @@ static LSPSignatureHelp parseSignatureHelp( const json& sig ) {
|
||||
#ifndef EE_DEBUG
|
||||
try {
|
||||
#endif
|
||||
if ( !sig.contains( "signatures" ) )
|
||||
return ret;
|
||||
const auto& sigInfos = sig.at( "signatures" );
|
||||
for ( const auto& info : sigInfos )
|
||||
ret.signatures.push_back( parseSignatureInformation( info ) );
|
||||
|
||||
@@ -384,8 +384,8 @@ struct LSPSelectionRange {
|
||||
struct LSPParameterInformation {
|
||||
// offsets into overall signature label
|
||||
// (-1 if invalid)
|
||||
int start;
|
||||
int end;
|
||||
int start{ -1 };
|
||||
int end{ -1 };
|
||||
};
|
||||
|
||||
struct LSPSignatureInformation {
|
||||
@@ -396,8 +396,8 @@ struct LSPSignatureInformation {
|
||||
|
||||
struct LSPSignatureHelp {
|
||||
std::vector<LSPSignatureInformation> signatures;
|
||||
int activeSignature;
|
||||
int activeParameter;
|
||||
int activeSignature{ 0 };
|
||||
int activeParameter{ 0 };
|
||||
};
|
||||
|
||||
struct LSPConverter {
|
||||
|
||||
Reference in New Issue
Block a user