Giter Site home page Giter Site logo

sublimewritingstyle's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sublimewritingstyle's Issues

[Bug] Paths to icons

Summary

Not displayed icons in Gutter.

Expected behavior

Icons in gutter.

Actual behavior

No icons in gutter

Steps to reproduce

I open any txt file → I wrote unwanted words → I not have icons in gutter.

Environment

Operating system and version:
Windows 10.0.14393
Sublime Text:
Build 3126

Thanks.

Gutter icons not working

The gutter icons are not working for me (Sublime Text 3, Dev Channel, Build 3095),
as can be seen in the attached image.

skjermbilde 2015-07-21 kl 16 42 06

From the console:

Unable to decode Packages/SublimeWritingStyle/icons/mistake_2.png
Unable to decode Packages/SublimeWritingStyle/icons/mistake_1.png

Slows typing rendering

Problem: when typing or deleting fast ST3 stops rendering text. This happens on slightly weaker machines. When I switch off the plugin the lag is gone.

Possible reason: SublimeWritingStyle checks document after every character change. A costly operation.

Proposed solution: adding a delay between checks. Linter package allows to add 500ms delay that seems to fix this problem with linter.

Installation instructions

This isn't appearing in Package Control – could you provide installation instructions in the README?

Thanks,

Robert

Not redrawing after scrooling

Hi, great work!

There is an issue where on ST3 the markings disappear after scrolling. Typically not all of them. Turning the package on and off helps. ideas?

How do I use it?

Got this installed, but not sure how I get it to highlight a file. Should it be auto-enabled? Is there some hotkey or command pallete thing I need to do?

Extra instructions appreciated :)

Sublime 2.0.2, Build 2221
OSX Mavericks

Hack to fix ST2 compatibility

First, thanks for making this package! It has really improved my writing in LaTeX.

It looks like the package is broken for ST2 (which is fine, some error about the keywords sublime.DRAW_NO_FILL + sublime.DRAW_NO_OUTLINE). But if anyone is still using ST2, you can replace lines 52-78 of your SublimeWritingStyle.py with this:

def lazy_mark_regions(new_regions, old_regions, style_key, color_scope_name, symbol_name):
        if old_regions != new_regions or True:
            # print 'adding new regions'
            view.erase_regions(style_key)
            # name, regions, style, symbol in gutter, draw outlined
            view.add_regions(style_key, new_regions, color_scope_name, symbol_name)
        return new_regions

    # weasel words
    new_regions = find_words(settings.pattern)
    weasel_word_regions = lazy_mark_regions(
        new_regions,
        weasel_word_regions,
        'SublimeWritingStyle',
        settings.color_scope_name,
        'dot')

    # passive words
    new_regions = find_words(settings.passive_voice_pattern)
    passive_voice_regions = lazy_mark_regions(
        new_regions,
        passive_voice_regions,
        'SublimeWritingStyle-Passive',
        'string',
        'circle')

This is clearly not a sustainable fix, but it worked for me.

Add toggle on/off for the mode

Hi, it would be useful to sometimes disable this mode. I suggest adding on/off toggle for Shift-Command-P menu.

Thanks for developing this - it is great!

Highlight repeated words

Repeated words (the the) are most often unintentional. Highlight these to help spot the error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.