This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# thanks to Casper and Caster for contributing commands to this. | |
from dragonfly import (Grammar, Context, AppContext, Dictation, Repeat, Function, Choice, Mouse, Pause) | |
from castervoice.lib import control | |
from castervoice.lib import settings | |
from castervoice.lib.actions import Key, Text | |
from castervoice.lib.context import AppContext | |
from castervoice.lib.dfplus.additions import IntegerRefS# thanks to Casper for contributing commands to this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import imp | |
import importlib | |
import io | |
import sys | |
import traceback | |
import types | |
import weakref | |
import toml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python vocabulary | |
"[key] word <python_keyword>": | |
R(Text(" %(python_keyword)s "), rdescript="Python: keyword"), | |
"builtin <python_builtin>": | |
R(Text(" %(python_builtin)s "), rdescript="Python: builtin"), | |
"standard <python_standard_library_module>": | |
R(Text(" %(python_standard_library_module)s "), rdescript="type name of Python standard library module"), | |
"lib <python_library>": | |
R(Text(" %(python_library)s "), rdescript="type name of Python nonstandard library"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on Sep 1, 2015 | |
@author: synkarius | |
''' | |
from dragonfly import Repeat, Function, Dictation, Choice, MappingRule | |
from castervoice.lib import context, navigation, alphanumeric, textformat, text_utils | |
from castervoice.lib import control, utilities | |
from castervoice.lib.actions import Key, Mouse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from inspect import getargspec | |
from .action_base import ActionBase, ActionError | |
class OtherFunction(ActionBase): | |
def __init__(self, function, defaults=None, remap_data=None): | |
ActionBase.__init__(self) | |
self._function = function |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dragonfly import * | |
from castervoice.lib import control | |
from castervoice.lib import settings | |
from castervoice.lib.actions import Key, Text, Mouse | |
from castervoice.lib.context import AppContext | |
from castervoice.lib.dfplus.additions import IntegerRefST |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flash develop test | |
- FlashDevelopCCR(FlashDevelop) 332 | |
- Alternative(...) 331 | |
- Compound('[go to] line <n>') 330 | |
- Sequence(...) 329 | |
- Optional(...) 2 | |
- Literal(['go', 'to']) 1 | |
- Literal(['line']) 1 | |
- IntegerRefST(_IntegerRefST_40) 325 | |
- IntegerST(1,1000) 324 (+ 4 trivial direct children) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import copy | |
from dragonfly import Function, Key, Text, Mouse, Pause, Dictation, Choice, Grammar , ContextAction | |
from castervoice.lib import control, settings, text_manipulation_functions | |
from castervoice.lib.context import AppContext | |
from castervoice.lib.dfplus.additions import IntegerRefST | |
from castervoice.lib.dfplus.merge import gfilter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Created on Sep 1, 2015 | |
@author: synkarius | |
''' | |
from dragonfly import Dictation, MappingRule, Choice, Pause | |
from castervoice.lib import control | |
from castervoice.lib.actions import Key, Text | |
from castervoice.lib.ccr.standard import SymbolSpecs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author: Alex Boche | |
from dragonfly import Key, Pause, AppContext, Window | |
import pyperclip | |
import re | |
from castervoice.lib import context | |
from castervoice.lib.ccr.core.punctuation import text_punc_dict, double_text_punc_dict | |
from castervoice.lib.alphanumeric import caster_alphabet | |
text_punc_dict.update(caster_alphabet) |