flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > FreshEdit - features and design discussion

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 03 Feb 2012, 21:48
In the attachement there are Linux and Windows executables of the FreshEdit demo application, preloaded with example text.
I need opinions about the design of the editor - icons, marks, appearance, etc.
The editor works - you can edit the text, but there are still problems with the editing features and I know about them, so don't pay attention on these flows.

In the preset text, there are simple instructions about some hot keys.
Also, the editor tries to use the font "FixedSys Excelsior"
If this font does not exists in the system, some other Unicode mono spaced font will be set. In this case, some of the unicode examples may not be displayed correctly.
Any opinions about the design are greatly welcome.
The color scheme is customizable, so you can suggest colors as well.

Best Regards.

[EDIT] The attachment was removed. Look forward in the posts for updated version.[/EDIT]


Last edited by JohnFound on 08 Feb 2012, 10:32; edited 2 times in total
Post 03 Feb 2012, 21:48
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
majidkamali1370



Joined: 31 Oct 2010
Posts: 50
Location: Iran
majidkamali1370 04 Feb 2012, 08:42
That was awesome, but I think it was better that background would be white and light gray with dark gray or green for comments and black for simple text.
Post 04 Feb 2012, 08:42
View user's profile Send private message Send e-mail Yahoo Messenger ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 04 Feb 2012, 09:18
I updated the file in the first post. Now there is a button "T" that changes the color themes from "Classic" to "Windows" theme and back. Please download again and try it.
Post 04 Feb 2012, 09:18
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
majidkamali1370



Joined: 31 Oct 2010
Posts: 50
Location: Iran
majidkamali1370 04 Feb 2012, 10:19
That's very good. Very Happy
Is the minus which is next to the editor, experimental? because it does not collapse the proc.
I wonder why when I press the below buttons the window become deactivated.
Can you use a vertical cursor instead?
And a bug, backspace does not work in the start of the line.
Post 04 Feb 2012, 10:19
View user's profile Send private message Send e-mail Yahoo Messenger ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 04 Feb 2012, 10:42
As I already said, there are bugs in the behavior and know about them. The collapse/expand features does not work in this moment, but it is matter of code - not a big problem.
The design is what I wanted to discuss here.
Post 04 Feb 2012, 10:42
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
majidkamali1370



Joined: 31 Oct 2010
Posts: 50
Location: Iran
majidkamali1370 04 Feb 2012, 11:14
Isn't tab character too wide? I think 4 or 5 spaces should be ok.
BTW, scroll bar is a little confusing. dark gray part is wider than lighter part.
Post 04 Feb 2012, 11:14
View user's profile Send private message Send e-mail Yahoo Messenger ICQ Number Reply with quote
adroit



Joined: 21 Feb 2010
Posts: 252
adroit 05 Feb 2012, 13:31
First off, I love this!

I agree with majidkamali1370, except that I think the background should be plain white (not multi-colored), the text black and comments gray---but I do love the black/gray color I get when the text is highlighted.

The scroll bar is indeed confusing.

The font is toooo large. Could you imagine a 500 lines of code in that? A size of 12pt or 10pt should be fine.

As for the word-wrap feature, in the sidebar, where you should that a line of text takes up more than one line---the blue vertical bar should be subtle, than highlighted blue, since it's not all that important.

The bookmark feature is awesome.

Here's an interesting post http://board.flatassembler.net/topic.php?t=8059
Post 05 Feb 2012, 13:31
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 05 Feb 2012, 14:15
adroit, what version you test, Windows or Linux?
1. The background - there is a plain wait background - Click on "T" to choose "Windows" theme and then on "Z" to switch "Zebra effect" off.
2. About the font. Can you demonstrate a screenshot. The demo tries to use the font "FixedSys excelsior v3.0" - you can download this from its site. If this font is not found, the font suggested by OS will be set, using the default size, also suggested by the OS.
3. About the word wrap indicator - can you suggest something more particular? Thinner line, different color? BTW, in the release version, there will be user customizable colors, so the colors are not an issue.
Post 05 Feb 2012, 14:15
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 06 Feb 2012, 17:39
Some opinions about this design? The cuts in the left margin indicate word-wrapped line.


Description:
Filesize: 13.42 KB
Viewed: 25264 Time(s)

model_both.png


Post 06 Feb 2012, 17:39
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 08 Feb 2012, 10:30
OK, the above design was implemented and here is the updated executables.
If someone wants to make some comments/suggestions/design ideas - this is the last chance. I tend to accept this design and to move further with the behavior and bugs.

Note: The scroll bars (as long as they are different component) are to be fixed later and are not subject of this discussion.


Description: FreshEdit demo for comments.
Download
Filename: TestFreshEdit.zip
Filesize: 37.11 KB
Downloaded: 868 Time(s)

Post 08 Feb 2012, 10:30
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4335
Location: Now
edfed 08 Feb 2012, 17:31
win98 Sad
Image

indeed, the border effect for autolinefeed is very cool.


Last edited by edfed on 08 Feb 2012, 17:34; edited 1 time in total
Post 08 Feb 2012, 17:31
View user's profile Send private message Visit poster's website Reply with quote
Enko



Joined: 03 Apr 2007
Posts: 676
Location: Mar del Plata
Enko 08 Feb 2012, 17:34
It would be nice to have somthing like:
Code:
;#startblock
;#endblock
    

for hiding lines other than "proc"


on ENTER, the TAB position is reseted so the new line is created on the begining of the line, thus the tabulation is not respected.

DEL doesnt delete multiple lines.
Post 08 Feb 2012, 17:34
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 09 Feb 2012, 06:59
Enko, the code folding feature will be freely user controllable besides the auto detected blocks. Now I simply put some primitive parsing in order to test the engine.
Edfed, I am fan of Win98 as well. But FreshLib is unicode library and I am not sure it can be implemented for Win98 the same way as in WinXP.
Also, I don't have Win98 installed, so I can't make any tests.
If you want to try, you can download the sources and try to fix, or at least to diagnose the problem.

Regards.


Last edited by JohnFound on 09 Feb 2012, 18:31; edited 1 time in total
Post 09 Feb 2012, 06:59
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
adroit



Joined: 21 Feb 2010
Posts: 252
adroit 09 Feb 2012, 17:52
I tested the windows version.

1. I never realized that feature. It fits.
2. A demo? See attachment; that's my personal font choice. To me it looks much better than a large font, but not best for reading (I suppose).
3. And the word wrap: see attachment.


Description: 2
Filesize: 76.04 KB
Viewed: 25117 Time(s)

delwendon2.png


Description: 1
Filesize: 26.42 KB
Viewed: 25118 Time(s)

del-wen-done.png



_________________
meshnix
Post 09 Feb 2012, 17:52
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 09 Feb 2012, 18:24
Adroit, in your case the font is probably Courier New on its default size. It is huge of course. (btw, the latest demo should choose size of 16px that is more appropriate). Anyway, in the final editor, the font will be selectable by the user.
About the word-wrap indicator, you can see my choice at the pictures above and try it in the latest version of the attached demo.

Regards
Post 09 Feb 2012, 18:24
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
adroit



Joined: 21 Feb 2010
Posts: 252
adroit 09 Feb 2012, 19:12
True. This is a test and I suppose that you just want to get functionality out of the way before you begin working in the finer design of the UI. About the word-wrap indicator, I find this much better than the other design, it's less noticeable IMHO.

This is inspiring me to continue my OS project
Post 09 Feb 2012, 19:12
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 09 Feb 2012, 19:39
Quote:
This is inspiring me to continue my OS project

You can use FreshLib for the GUI Wink Then every application written using FreshLib will be directly compilable for your OS and every application written for your OS will be portable at least for Windows and Linux.
Post 09 Feb 2012, 19:39
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
adroit



Joined: 21 Feb 2010
Posts: 252
adroit 09 Feb 2012, 20:24
Nice! But that would have to be in the far, far. The OS is in its prealpha stage.
Post 09 Feb 2012, 20:24
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 09 Feb 2012, 23:06
edfed, I tested the demo on my old Win98 machine, but it works exactly as in WinXP and Linux.
However, the computer has MSLU installed? What about your machine?
Post 09 Feb 2012, 23:06
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4335
Location: Now
edfed 10 Feb 2012, 12:46
i try to install mslu i got here http://www.microsoft.com/download/en/confirmation.aspx?id=4237, but don't know where to put it.
tested on desktop where your program (testlib.exe) is, tested in windows/system, it don't give results. still the pagination error.

my win98 is a version in french, first edition. maybe that's why it don't work, cause when i putted unicows.dll in windows/system/ it asked for replace, the previous was the original version...
maybe i should just restart in fact... but not now, i am on 3D code.

Smile
Post 10 Feb 2012, 12:46
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.