Giter VIP home page Giter VIP logo

mine's Introduction

Mine

A collaborative editor written in ruby with the configuration and shortcuts in GNU Emacs style.

Installation

Add this line to your application's Gemfile:

gem 'Mine'

And then execute:

$ bundle

Or install it yourself as:

$ gem install Mine

Usage

Usage: mine-server [OPTIONS]
Launch a mine server
-h, --host HOST TCP authorized distant hosts
-p, --port PORT TCP communication port
-i, --wshost HOST WebSocket authorized distant hosts
-q, --wsport PORT WebSocket communication port
--help displays this screen

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

mine's People

Contributors

elthariel avatar ezveus avatar ivad avatar nainculte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mine's Issues

[Move] origin doesn't work

>> authenticate
name : root
pass : toor

mine server log [Client] User logged : root # <@ : user@localhost>

>> load
path : README.md
line number : 0
port : 42456

mine server log [Client] Creating the frame : README.md

Buffer id : 15b6dafb-8263-47df-9b36-dc3c019dae9b
>> insert 
buffer : README.md
text : Plopitude

mine server log ["Plopitude# minep-request"]
mine server log [Client] Inserted Plopitude in #<Mine::Buffer:0x000000027d3668>

>> move     
buffer : README.md
direction (up, right, down, left, origin, end) : origin
number :

mine server log [Client] Parsing {"buffer":"15b6dafb-8263-47df-9b36-dc3c019dae9b","direction":"origin","number":0,"id":"5e64baaa\ -24ef-4e21-92ca-f8d5cf24e7bb"}

>> delete
buffer : README.md
number : 9

mine server log [Client] Parsing {"buffer":"15b6dafb-8263-47df-9b36-dc3c019dae9b","number":9,"id":"82ebea38-cc27-4db4-a856-e0f72\ faceb6b"}

>> insert
buffer : README.md
text : Plopitude

mine server log [Client] Parsing {"buffer":"15b6dafb-8263-47df-9b36-dc3c019dae9b","text":"UGxvcGl0dWRl\n","id":"0f164802-a421-4e\ 96-ac86-cfdddd1ecf5e"}
mine server log ["PlopitudePlopitudeequest"]

D'après le log ci-dessus, et si je ne me suis pas trompé, l'insertion de 'Plopitude' en début de fichier, suivi d'un move 'origin', d'un delete de 9 caractères puis d'une réinsertion de 'Plopitude' aurait du donner le log suivant : ["Plopitude# minep-request"] or j'ai obtenu : ["PlopitudePlopitudeequest"]

Je pense que cela est du à un mauvais move 'origin'.

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.