Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Src/LexText/ParserUI/ParserListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,15 @@ public bool OnCheckParserOnCurrentText(object argument)
return true; //we handled this.
}

public bool OnDisplayCheckParserOnCurrentText(object commandObject, ref UIItemDisplayProperties display)
{
CheckDisposed();

display.Enabled = CurrentText != null;

return true; //we handled this.
}

public bool OnCheckParserOnGenre(object argument)
{
CheckDisposed();
Expand Down
Loading