code edit

def os_is_win32():
    return sys.platform == 'win32' || sys.platform == 'cygwin'


    def _filter_platforms(self, platforms):
        print "_filter_platforms, platforms len:%d" % len(platforms)
        print platforms


        ret = []
        platforms_for_os = {
            "linux" : [ Platforms.WEB, Platforms.LINUX, Platforms.ANDROID ],
            "mac" : [ Platforms.WEB, Platforms.IOS, Platforms.MAC, Platforms.ANDROID ],
            "win32" : [ Platforms.WEB, Platforms.WIN32, Platforms.ANDROID, Platforms.WP8,
                        Platforms.WP8_1, Platforms.METRO]
        }
        for p in platforms:
            if cocos.os_is_linux():
                if p in platforms_for_os["linux"]:
                    ret.append(p)
            if cocos.os_is_mac():
                if p in platforms_for_os["mac"]:
                    ret.append(p)
            if cocos.os_is_win32():
                if p in platforms_for_os["win32"]:
                    ret.append(p)
        print "_filter_platforms, platforms len:%d" % len(ret)
        print ret


        return ret



  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Code Edit Studio is a programmers text editor which is customizable for any language. It is a IDE ( Integrated development environment ) to build applications on the Win32 platform. Code Edit Studio supports Windows 98, NT, ME, 2000 & XP platforms. It provides a powerful, easy to use and simple environment for development of applications on Windows platforms. Code Edit Studio helps the programmer in many ways., prevents errors, helps in compiling and executing code with ease. Code Edit Studio is professionally designed to meet Microsoft Windows interface guidelines, Code Edit Studio users can expect a familiar and intuitive user interface. • Advanced Editor (the main feature): – Syntax highlight for 40 languages, and one custom highlighter, fully customizeable. – Autocomplete with popup list. – Autocorrect. – Bookmarks. – Customizable shortcuts. – Incremental search. – Unlimited undo and redo. – Highlight matching brackets.• Start commandline programs (compiler, interpreter or whatever) and capture the output.• Scripting using your favorite script language (VBScript, JScript, PerlScript, or any other supported language) with custom forms (modal dialogs only) + execute scripts on certain events.• Configureable tools (start a program, insert a string into the Editor or execute an Edit command).• Spell checker + check spelling while you are typing.• Export to HTML and RTF.• Autodetect line break styles (DOS, UNIX or Mac), and convert them.• Convert between different codepages (KOI8-R, ISO 8859, DOS, Mac).• Print and print preview with syntax highlight in color.• Support for project files.• Drag and Drop support (open or insert files).• Ability to read and write Delphi binary form files.• Assign to any syntax scheme a custom help file and call it via a hot key.• Edit documents directly on a FTP server + proxy support.• File explorer.• Saves bookmarks and caret pos for each file, if you wish.• Find in files + regular expressions.• Document templates.(下载文件中已含注册码!!!)

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值