Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Python CCR store and retrieve features #655

Merged

Conversation

LexiconCode
Copy link
Member

@LexiconCode LexiconCode commented Jul 19, 2019

Python CCR: Added store and retrieve

Description

Added store and retrieve to enhance Python CCR. The default behavior is the same as the original and enhancements only activate with text is selected.

Example:
The command function would print out def (): then the cursor would move left 2 times. Next with the word awesome highlighted dictate function. The final result being def awesome():. with the cursor at the end

With the new commands highlighting any text will place the text in the appropriate context of the command.

Related Issue

#650

Motivation and Context

Leverages store and retrieve to highlight text. Current features it only leverages the keyboard this allows greater mixed input from selecting text Mouse or MouseGrids.

How Has This Been Tested

It's been tested within the VScode with CCR and Non-CCR commands

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue or bug)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Renamed existing command phrases (we discourage this without a strong rationale).

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • I have checked that my code does not duplicate functionality elsewhere in Caster.
    not applicable).
  • My code implements all the features I wish to merge in this pull request.
  • All new and existing tests pass.

Maintainer/Reviewer Checklist

  • Basic functionality has been tested and works as claimed.
  • New documentation is clear and complete.
  • Code is clear and readable.

@LexiconCode LexiconCode added the Caster Core Spec Issues for Caster Specs that are not part of the application or language specific grammar/ccr label Jul 19, 2019
@LexiconCode LexiconCode self-assigned this Jul 19, 2019
@LexiconCode LexiconCode added the Complete Pull request is complete and tested as defined by Contributor label Jul 19, 2019
@LexiconCode LexiconCode merged commit ce44b02 into dictation-toolbox:master Jul 29, 2019
@LexiconCode LexiconCode deleted the PythonCCR_store/retrieve branch July 29, 2019 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Caster Core Spec Issues for Caster Specs that are not part of the application or language specific grammar/ccr Complete Pull request is complete and tested as defined by Contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant