Giter VIP home page Giter VIP logo

teditor's Introduction

teditor's People

Contributors

arthurbacci avatar br0000k avatar bynect avatar noloader avatar trqt avatar

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  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

teditor's Issues

Modify the way ted can be closed

Actually ted can be closed just with ctrl+c, even if unsaved changes to a file have been made.

Isn't a little bit too easy to erroneously quit in this way? Should ted prompt the user for a confirm message (ex: Are you sure to quit?)? Or maybe introduce the exit/quit config dialog (like vim)?

ted crashs/hangs on binary files [bug]

I erroneously opened a binary file in ted and it behaved strangely (misplaced cursor and line numbers), and after a certain line (300 or something) just hanged. I have yet to reproduce this behavior on multiple files, but I will post updates on this bug soon.

Proposed changes to config dialog

Hello, I was experimenting a little bit with config dialogs and I made the following major changes:

  • Split into substrings the command and pass them as argument of the respective function. (This eliminates the need for multiple call to prompt)
  • Add hints when writing commands in config dialogs (still at an early stage, but functioning). (This was made as a substitution for prompts custom messages)
  • Return a bool from detect_extension which indicates if a syntax was found or not

You can see all the changes in this branch: https://github.com/bynect/Teditor/tree/major.
Since this are somewhat bigger changes than the others, I was hoping to hear your opinions before creating a pr.

Commands for everything

Set everything to be based on commands, like in the config_dialog, and the key bindings would be just a bind to the command, like Emacs.

Stop using ncurses

NCurses is causing limitations. Convert Teditor to VT100 carriage returns.

Read only buffers/file [feature]

This could be helpful for reading files without write permission, or for example manual files. (Similar to emacs read-only buffers)

Carriage return (0x0D) removes line numbers

When there is a carriage return character (0x0D), it removes the line number of the line it's on. I think CR (carriage return) needs to be interpreted as a new line (0x0a, '\n', line feed).

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.