Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LF2 - Online Data Changer
#1
Here is a little website for data changing.

HTML5, CSS and JS used. Can be run locally.

Feel free to use it as you like.

Demo: http://lf2odc.netlify.com/

Source: https://bitbucket.org/MangaD/lf2-online-...hanger/src
[Image: random.php?pic=random]
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
The meaning of life is to give life a meaning.
Stop existing. Start living.
Reply
Thanks given by: A-Man , Hate , shin hanazumi
#2
Textarea normally used won't be good for the editor performance because it's lagging to edit the largest text.

Anyway, there's some logics to quickly edit the text by modifying the editor text box structure, certainly. I've a lot of ideas yet. I'll edit this post.

Ahh! As beta version, you can add text formating by using divs... but, then, you know you gotta do this making the performance better?
Reply
Thanks given by: MangaD
#3
There is room for improvement. Syntax highlighting for example.

The problem with the textarea lagging is because of how I handle the line numbers and the resizing.

Not the best solution I know. But too lazy to do it right. :p
[Image: random.php?pic=random]
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
The meaning of life is to give life a meaning.
Stop existing. Start living.
Reply
Thanks given by:
#4
Ohh! In this case you shouldn't show all line numbers once. With data changer text box scroll events, you can just set the visible lines in the lines container.

However, you can try to optimize them later... dãm
Reply
Thanks given by:
#5
Just use Ace. Writing a lexer for it is not too hard, and it has most of the features you would want in a code editor built in.
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
Reply
Thanks given by: MangaD
#6
Looks very nice. One problem I've encountered is Ctrl+Z working to undo (erase) the text that has just been loaded from a file.
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by: MangaD
#7
(04-16-2016, 10:13 PM)Someone else Wrote:  Just use Ace. Writing a lexer for it is not too hard, and it has most of the features you would want in a code editor built in.

This is a brilliant editor! Very easy to use and to set up! I will try to do the syntax highlighting, which seems more difficult.

Thank you!

(04-17-2016, 09:38 AM)A-Man Wrote:  Looks very nice. One problem I've encountered is Ctrl+Z working to undo (erase) the text that has just been loaded from a file.

Fixed. :D
[Image: random.php?pic=random]
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
The meaning of life is to give life a meaning.
Stop existing. Start living.
Reply
Thanks given by:
#8
Just tried from phone and I can't type more than one character.
If I type another letter it'll delete the first one and rewrite it there.
So basically I'm stuck on line: 1 column: 1
(03-20-2016, 06:41 PM)mfc Wrote:  Be the unsqueezable sponge!
My new life motto!
Reply
Thanks given by:
#9
Syntax highlighting done!

There is still room for improvement (auto indentation, error detector and find frame option).

But I'll leave it here for now.

(04-17-2016, 02:26 PM)Rhino.Freak Wrote:  Just tried from phone and I can't type more than one character.
If I type another letter it'll delete the first one and rewrite it there.
So basically I'm stuck on line: 1 column: 1

Which browser are you using?
[Image: random.php?pic=random]
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
The meaning of life is to give life a meaning.
Stop existing. Start living.
Reply
Thanks given by: A-Man
#10
I noticed the presence of some words like "walking", "run" or "ball" in the frame name will highlight it orange (theme "cobalt"), whereas anything else becomes white. I'm not sure whether that is intentional or not (is it?), but it feels like a bug anyway.

Keep it up!
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)