mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-22 13:01:05 +03:00
In widgets rename all the addEventListener calls to on.
Some minor fixes in cpp, css, xml and html syntax highlighters.
This commit is contained in:
@@ -639,11 +639,10 @@ std::string GitPlugin::gitBranch() {
|
||||
}
|
||||
|
||||
void GitPlugin::onRegisterListeners( UICodeEditor* editor, std::vector<Uint32>& listeners ) {
|
||||
listeners.push_back(
|
||||
editor->addEventListener( Event::OnCursorPosChange, [this, editor]( const Event* ) {
|
||||
if ( mTooltipInfoShowing )
|
||||
hideTooltip( editor );
|
||||
} ) );
|
||||
listeners.push_back( editor->on( Event::OnCursorPosChange, [this, editor]( const Event* ) {
|
||||
if ( mTooltipInfoShowing )
|
||||
hideTooltip( editor );
|
||||
} ) );
|
||||
}
|
||||
|
||||
Color GitPlugin::getVarColor( const std::string& var ) {
|
||||
|
||||
Reference in New Issue
Block a user