资源简介

dock窗口停靠(ICSharpCode.AvalonEdit)

资源截图

代码片段和文件信息

import os sys

def check(filename):
    ok = True
    with open(filename ‘r‘) as f:
        for i line in enumerate(f):
            if line.startswith(‘ ‘):
                print(‘{}:{}: Line starting with spaces. Use tabs for indentation instead!‘.format(filename i+1))
                ok = False
    return ok

def main():
    dir = os.path.normpath(os.path.join(os.path.dirname(__file__) ‘..‘))
    ok = True
    for root dirs files in os.walk(dir):
        if ‘\\obj\\‘ in root:
            continue
        for filename in files:
            if filename.lower().endswith(‘.cs‘) or filename.lower().endswith(‘.xaml‘):
                if not check(os.path.join(root filename)):
                    ok = False
    print(‘Tidy check: {}‘.format(‘successful‘ if ok else ‘failed‘))
    return 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    .......      8460  2019-09-28 15:45  AvalonEdit-master\.editorconfig

    .......        65  2019-09-28 15:45  AvalonEdit-master\.gitattributes

    .......       204  2019-09-28 15:45  AvalonEdit-master\.gitignore

     文件     866236  2019-12-17 03:23  AvalonEdit-master\.vs\ICSharpCode.AvalonEdit\DesignTimeBuild\.dtbcache

     文件     127869  2019-12-17 14:44  AvalonEdit-master\.vs\ICSharpCode.AvalonEdit\DesignTimeBuild\.dtbcache.v2

    ..A..H.     79360  2019-12-17 14:44  AvalonEdit-master\.vs\ICSharpCode.AvalonEdit\v16\.suo

     文件          0  2019-12-17 02:49  AvalonEdit-master\.vs\ICSharpCode.AvalonEdit\v16\Server\sqlite3\db.lock

     文件    4325376  2019-12-17 14:44  AvalonEdit-master\.vs\ICSharpCode.AvalonEdit\v16\Server\sqlite3\storage.ide

    .......       480  2019-09-28 15:45  AvalonEdit-master\appveyor.yml

    .......      1679  2019-09-28 15:45  AvalonEdit-master\azure-pipelines.yml

    .......       863  2019-09-28 15:45  AvalonEdit-master\BuildTools\tidy.py

    .......      2999  2019-09-28 15:45  AvalonEdit-master\ChangeLog.md

    .......      1898  2019-09-28 15:45  AvalonEdit-master\Documentation\Architecture.aml

    .......      5173  2019-09-28 15:45  AvalonEdit-master\Documentation\Code Completion.aml

    .......      8472  2019-09-28 15:45  AvalonEdit-master\Documentation\Coordinate Systems.aml

    .......      3270  2019-09-28 15:45  AvalonEdit-master\Documentation\Folding.aml

    .......      4942  2019-09-28 15:45  AvalonEdit-master\Documentation\icons\Help.png

    .......       674  2019-09-28 15:45  AvalonEdit-master\Documentation\ICSharpCode.AvalonEdit.content

    .......      7907  2019-09-28 15:45  AvalonEdit-master\Documentation\ICSharpCode.AvalonEdit.Documentation.shfbproj

    .......      1388  2019-09-28 15:45  AvalonEdit-master\Documentation\License.html

    .......     30932  2019-09-28 15:45  AvalonEdit-master\Documentation\Media\NamespaceDependencies.png

    .......     31718  2019-09-28 15:45  AvalonEdit-master\Documentation\Media\RenderingPipeline.png

    .......     10086  2019-09-28 15:45  AvalonEdit-master\Documentation\Media\VisualTree.png

    .......     86390  2019-09-28 15:45  AvalonEdit-master\Documentation\Media\WelcomeScreenshot.png

    .......      3483  2019-09-28 15:45  AvalonEdit-master\Documentation\Sample Application.aml

    .......     12225  2019-09-28 15:45  AvalonEdit-master\Documentation\Syntax Highlighting.aml

    .......      9634  2019-09-28 15:45  AvalonEdit-master\Documentation\Text Rendering.aml

    .......      2975  2019-09-28 15:45  AvalonEdit-master\Documentation\Welcome.aml

    .......        43  2019-09-28 15:45  AvalonEdit-master\global.json

    .......      4979  2019-09-28 15:45  AvalonEdit-master\ICSharpCode.AvalonEdit\AvalonEditCommands.cs

............此处省略473个文件信息

评论

共有 条评论