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
# | |
# This file is a command-module for Dragonfly. | |
# (c) Copyright 2008 by Christo Butcher | |
# Licensed under the LGPL, see <http://www.gnu.org/licenses/> | |
# | |
""" | |
Command-module for Chrome | |
""" |
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 castervoice.lib.imports import * | |
_NEXUS = control.nexus() | |
def fix_dragon_double(nexus): | |
try: | |
lr = nexus.history[len(nexus.history) - 1] | |
lu = " ".join(lr) | |
Key("left/5:" + str(len(lu)) + ", del").execute() |
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 toml | |
import io | |
from dragonfly import (Grammar, Context, AppContext, Dictation, Key, Text, Repeat, | |
Function, Choice, Mouse, MappingRule) | |
from castervoice.lib import navigation, alphanumeric, textformat, text_utils | |
from castervoice.lib import control | |
from castervoice.lib.dfplus.additions import IntegerRefST | |
from castervoice.lib.dfplus.merge.ccrmerger import CCRMerger | |
from castervoice.lib.dfplus.merge.mergerule import MergeRule | |
from castervoice.lib.dfplus.state.short import R |
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
[unary_method] | |
"reper"= "repr" | |
"stir"= "str" | |
"len"= "len" | |
"name"= "name" | |
"Unicode"= "unicode" | |
"size of"= "sizeof" | |
"dir"= "dir" | |
"int"= "int" |
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) |
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
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 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
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 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 |