Giter VIP home page Giter VIP logo

nwedit's Introduction

NWEdit

Hits

The editor that edits.

Introduction

NWEdit is a multipurpose editor written in Python.
We try to make an editor that satisfies your needs, but doesn't have all that excess clutter that bloats up the size
It's not pure Python though, because it has a few components written in Node.js. We're working on making it pure Python, so that it compiles cross-platform.

The website is here
The website may be outdated, so please go to source release to download it.

Build Instructions

Credits

  • The main code is a modified(enhanced) version of dh7qc/python-text-editor, licensed under the GPL v3.0 license

  • The highlighting part is from pyro written by James Stalings, licensed under the GPL v3.0 License:

simple elegant text editor built on Python/Tkinter
    by James Stallings, June 2015
    Adapted from:

      Pygments Tkinter example
      copyleft 2014 by Jens Diemer
      licensed under GNU GPL v3
      
    and
    
      'OONO' designed and written by Lee Fallat, 2013-2014.
      Inspired by acme, sam, vi and ohmwriter.
    A sincere thanks to these good people for making their source code available for myself and others
    to learn from. Cheers!
  • The file tree is adapted from this editor, with just minor adjustments that adds cascade support. Licensed under the GPL v3.0 License

  • And thanks to people who wrote greate code on Gist and Stack Overflow:

    • olisolomos โ€“ Python Console in Tkinter
    • Bryan Oakley, who made the custom Tkinter tabs that has close buttons, and answered the question about the cut bug

nwedit's People

Contributors

dependabot[bot] avatar ttury avatar zcg-coder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nwedit's Issues

Add run configuration for project

Each project should have an individual run command. The current maps for filetypes, instead of project.
Also, the run entry point should be specifiable too, since some projects has a main file as the entry point. We should add support to that also.

Be event-based

The editor needs plugins, but adding plugins needs an to pass the editor object.
Therefore, it will be much more convenient if the program is event-based, which means everything (function calls and object initialisation) will be called as an event.
To do it:

  • An event-handling class will be written
  • Object/method passing will be converted to events

Use `pyvips` instead to render SVG

Currently, NWEdit uses pycairo to render the SVG files to PNG, so that Tkinter can display them. However, it doesn't compile on Windows and makes the build process extremely difficult. pyvips seems to provide a cross-platform and lightweight way to convert SVG.

Documentation

PyPlus should be well-documented, but no documentation is available currently.
Should add docs to show:

  1. Setup on different platforms
  2. Features
  3. Available commands
  4. Customisation
    • Theming
    • Menus
    • File handling
  5. Plugins

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.