Skip to content

Auto-type does not allow references in syntax #2633

@droidmonkey

Description

@droidmonkey

Expected Behavior

{REF:U@I:7243df20ad9ccfacfec853f715b59a5a} should be a valid auto-type command

Current Behavior

AutoType::checkSyntax(...) returns false since the REF entry does not conform to any of the available syntax checks even though it is valid.

Additionally, if auto-type verification fails, it does not let the user correct their mistake due to improper handling of the error in

} else if (AutoType::verifyAutoTypeSyntax(m_autoTypeUi->sequenceEdit->text())) {

Possible Solution

Add REF syntax to the syntax checker and move AutoType::verifyAutoTypeSyntax(...) to EditEntryWidget::commitEntry() function.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions