Closed

Dual file editor with javascript ACE - [url removed, login to view]

We need an Ace editor that will edit 2 files in the same time

files could be in any language supported by ACE, and the language of the files might not match.

Design: two ACE editors, side by side (left right),

All code has to be client code, JavaScript, no server code (e.g. no PHP)

UI would look like

[checkbox] Sync

1) void main(void) { | x | void main(int args, char** vargs) {

2) int a = 7; | x | int a = DAYS_IN_WEEK;

...

controls:

A) left side editor

B) middle controls, with one button x for each line, when pressed it will delete that line from both editors

C) right side editor

D) Sync checkbox, can't be selected, unless the files have exactly the same number of lines!

When Sync is unchecked, both editors will edit their files freely

When Sync is checked, the editors will function as:

1) the files scroll together to show the same lines of code

2) if 1+ lines are deleted from one editor, they will be deleted from the other editor too

3) if a line is partially edited, no changes will be made on the second editor

4) at all times, both editors must have the same number of lines of code!

5) if text is copied in clipboard, and pasted somewhere else, completed lines on the second editor will be copied too

example

1) void main(void) { | x | void main(int args, char** vargs) {

2) int a = 7; | x | int a = DAYS_IN_WEEK;

3) int b = 52; | x | int b = WEEKS_IN_YEAR;

we we copy

" (void) {

int a = 7;

int"

then "int a = DAYS_IN_WEEK;" will be copied too

Ideally everything should be in 1 file! We might accept IFRAME usage (editors could be iframed), if ACE editor does not accept two types editors with different languages on the same html (e.g. a c++ one and a java).

Skills: HTML, Javascript, Website Design

See more: website code editor, types of ajax, on line editors, javascript edit code, iframe html 5, html text editor, html 5 checkbox, copy editor website, code org 5 b, html 5 editor, line editor, copy-editor, copy editor, ACE, ace of, editor java, java text editor, javascript controls, html sync, copy clipboard html, right left text editor, ajax text files, controls javascript, java http sync, dual php

About the Employer:
( 0 reviews ) United States

Project ID: #4120549

4 freelancers are bidding on average $250 for this job

ashitee

Hi, I would like to offer my graphics design services for your project. I am expert web graphics designer having more than 5 years of experience. You will get best quality work and service from my side. Please see PMB More

$250 USD in 10 days
(20 Reviews)
4.5
pytho

Hi I am sure i help you with this project, please read your private message.

$450 USD in 25 days
(7 Reviews)
4.2
willwesley

Ace editor does indeed allow for multiple editors to be embedded on the same page, and they may have varying syntax highlighters enabled on them, so there's no need for IFRAMEs. Implementing your basic UI design should More

$250 USD in 5 days
(2 Reviews)
1.7
pabnasoft

Dear Hiring manager, I am an Expert on html5,css3,php,mysql,joomla,wordpress,Prestashop javascript,drupal,magento,c#,asp.net and oracle 11g apex. I have 3 years experience. More

$100 USD in 3 days
(2 Reviews)
1.4
zoyamehdi

m doing best

$50 USD in 20 days
(0 Reviews)
0.0