View previous topic :: View next topic |
Author |
Message |
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
Posted: Thu Jun 02, 2011 9:28 pm Post subject: Editor / Strange Ideal |
|
|
I've got a strange ideal for an (code) editor...
Basically it would be a number of completely resizable code boxes / drag and drop enabled each with their own events...and a sidebar containing routines commands and function presets....
So you could instantly snap in a code preset into your floating page...a new event...
then you could save as dsc which would combine all your floats together or save as project to preserve your current project....
So you can shrink the down to only show a small box displaying :evloop or whatnot and expand when you need to edit that section of code... onclick would have to change the z-order to top I guess....
Let me know if you have interest in seeing this done. |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Fri Jun 03, 2011 5:34 am Post subject: |
|
|
Not exactly sure I understand this.. can you make a mock up image to show us? _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
Posted: Fri Jun 03, 2011 1:34 pm Post subject: |
|
|
Sounds interesting. I would like to see/hear more.
I have been kicking around the idea of making a new editor that all the files are grouped into a "project". Making it easier to backup and work with. _________________ Chris
Http://theblindhouse.com |
|
Back to top |
|
|
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
Posted: Fri Jun 03, 2011 5:39 pm Post subject: |
|
|
Well, one minor problem...after doing a small bit of feasibility...VDS wasn't the right language to create the editor in. So it's a editor originally for VDS, that is written in another language. For me this is sort a bummer.
The problem boils down to VDS's cludgy access to DOM and inability to parse by sized strings (can parse by ":" but can't parse by @cr()":").
I could build it in VDS, don't get me wrong, but the end result would be a less rich user experience and it would take a lot longer to make.
On the up side this is one of those obsessive things that kind of took flight on it's own (rendering my original post moot, damn OCD), so we'll have an end product soon! |
|
Back to top |
|
|
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
Posted: Sat Jun 04, 2011 12:05 am Post subject: |
|
|
http://dl.dropbox.com/u/28521507/codesnap/publish.htm
The delimiter is preset to @cr():
You can change it, alot of people need to change it to @chr(32):
Basically start by copying a DSC file to the clipboard, then use Clipboard>Paste from Code
The ideal is to expand the functions of the sidebar to include categories and subcatagories, where people can "snap" code snippets together to make applications with very little coding.
[update]
It's pretty easy in the VDS IDE to convert spaced : to non-spaced...even if they are spaced several times.
Find [ :]
Replace[:]
Run that about ten times and you're all set to use the carriage return colon delimiter.
Last edited by cnodnarb on Sat Jun 04, 2011 12:19 am; edited 1 time in total |
|
Back to top |
|
|
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
Posted: Sat Jun 04, 2011 12:15 am Post subject: |
|
|
Looks interesting. Will there be syntax highlighting? _________________ Chris
Http://theblindhouse.com |
|
Back to top |
|
|
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
Posted: Sat Jun 04, 2011 12:23 am Post subject: |
|
|
Not yet, actually I recently made a syntax highlighter...and it worked great...for stuff below a couple of thousand characters.
Syntax highlighting is TRICKY. It actually seems to be a fairly in-depth field and difficult in just about any language.
So >maybe< if I pursue this ideal to the fullest it will. I could probably do it fairly easily in VB6 (codemax 2.0) or Gambas (built in highlight control), but Gambas apps don't run on Windows and I'm trying to phase away from VB6. |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Jun 04, 2011 6:16 pm Post subject: |
|
|
Shame about Gambas isn't it.... I would totally be using that right now if there were a Windows build. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
Posted: Mon Jun 13, 2011 6:30 am Post subject: |
|
|
The work is looking a little different nowadays...
Let me know if you like/hate the ideal! |
|
Back to top |
|
|
Tdk161 Valued Contributor
Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Mon Jun 13, 2011 1:48 pm Post subject: |
|
|
yep,I like
and maybe a dialog designer? |
|
Back to top |
|
|
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
Posted: Tue Jun 21, 2011 2:53 pm Post subject: |
|
|
Still working on it. Beta should roll around in a few days.
This screenshot shows me working with Personal VDS 4 and the DE.
|
|
Back to top |
|
|
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 762 Location: Rockeledge, GA
|
|
Back to top |
|
|
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1751 Location: Space and Time
|
Posted: Thu Jun 23, 2011 8:46 pm Post subject: |
|
|
This looks so cool. I haven't had a chance to use it yet, but it's installed ready to go! _________________ Chris
Http://theblindhouse.com |
|
Back to top |
|
|
|