Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,520 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,804 people online right now. Registration is fast and FREE... Join Now!




A Simple Text Editor Question

2 Pages V  1 2 >  
Reply to this topicStart new topic

A Simple Text Editor Question, What features should it have?

abgorn
8 Aug, 2008 - 04:48 AM
Post #1

Hello Crap for Brains
Group Icon

Joined: 5 Jun, 2008
Posts: 881



Thanked: 5 times
Dream Kudos: 50
My Contributions
A project I'm working on (since two days ago) is a simple text editor called NerdText (nText for short and it's like NotePad). So far it is super simple and I was wondering if there was any feature that you'd think a simple text editor should have. In the first release whuch I'm working on only has "New", "Open" and "Save" in it menu bar, but I plan to add fonts, colours, support for images, it's own file type (.ntxt).

But before I start on those, I was wondering if there were any features that would make it better in some way. So what do you think it should have?
User is offlineProfile CardPM
+Quote Post

Tom9729
RE: A Simple Text Editor Question
8 Aug, 2008 - 06:35 AM
Post #2

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,459



Thanked: 10 times
Dream Kudos: 325
My Contributions
Are you trying to make an editor or a word processor?
User is online!Profile CardPM
+Quote Post

Xarver
RE: A Simple Text Editor Question
8 Aug, 2008 - 06:45 AM
Post #3

D.I.C Head
**

Joined: 6 Aug, 2008
Posts: 60



Thanked: 2 times
My Contributions
Well, if you save it has
.txt or .ntxt or .pdf or .doc [pdf would be awesome]
It would be cool if it had a spell check.
Also If it was a .doc or .pdf or .ntxt it would have image support...
Also if you could use different text fonts, sizes, and center text...
etc.

Those would be some neat features. smile.gif

~ Xarver

This post has been edited by Xarver: 8 Aug, 2008 - 06:46 AM
User is offlineProfile CardPM
+Quote Post

abgorn
RE: A Simple Text Editor Question
8 Aug, 2008 - 02:08 PM
Post #4

Hello Crap for Brains
Group Icon

Joined: 5 Jun, 2008
Posts: 881



Thanked: 5 times
Dream Kudos: 50
My Contributions
Well, it would be an text editor, but I want to add some things that make it slightly a word prossesor (like making text go to center, left or right and have .pdf conversion), but simple and light so it could be used often and without complications.
User is offlineProfile CardPM
+Quote Post

Tom9729
RE: A Simple Text Editor Question
8 Aug, 2008 - 03:00 PM
Post #5

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,459



Thanked: 10 times
Dream Kudos: 325
My Contributions
Editors are usually for programming.

Word processors are usually for typing formatted documents.

If you go with the word processor route, my advice is to make the app first and worry about fancy things like PDF support later.

Having import/export filters as plugins wouldn't be a bad idea. smile.gif
User is online!Profile CardPM
+Quote Post

abgorn
RE: A Simple Text Editor Question
8 Aug, 2008 - 03:02 PM
Post #6

Hello Crap for Brains
Group Icon

Joined: 5 Jun, 2008
Posts: 881



Thanked: 5 times
Dream Kudos: 50
My Contributions
QUOTE(Tom9729 @ 8 Aug, 2008 - 04:00 PM) *

Having import/export filters as plugins wouldn't be a bad idea. smile.gif

What do you mean?
User is offlineProfile CardPM
+Quote Post

Tom9729
RE: A Simple Text Editor Question
8 Aug, 2008 - 03:22 PM
Post #7

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,459



Thanked: 10 times
Dream Kudos: 325
My Contributions
QUOTE(abgorn @ 8 Aug, 2008 - 07:02 PM) *

QUOTE(Tom9729 @ 8 Aug, 2008 - 04:00 PM) *

Having import/export filters as plugins wouldn't be a bad idea. smile.gif

What do you mean?

When you export a document it goes through a filter. The filter converts it from whatever your internal format is, to whatever the destination format is supposed to be.

Same goes for importing, only it works in the opposite direction.

Instead of hard-coding PDF support into the app, you could write it as a plugin. Want to add support for another format? Write a plugin.

It would be a bit more work initially, but it would make adding support for new formats a snap. icon_up.gif
User is online!Profile CardPM
+Quote Post

abgorn
RE: A Simple Text Editor Question
9 Aug, 2008 - 12:58 AM
Post #8

Hello Crap for Brains
Group Icon

Joined: 5 Jun, 2008
Posts: 881



Thanked: 5 times
Dream Kudos: 50
My Contributions
QUOTE(Tom9729 @ 8 Aug, 2008 - 04:22 PM) *

QUOTE(abgorn @ 8 Aug, 2008 - 07:02 PM) *

QUOTE(Tom9729 @ 8 Aug, 2008 - 04:00 PM) *

Having import/export filters as plugins wouldn't be a bad idea. smile.gif

What do you mean?

When you export a document it goes through a filter. The filter converts it from whatever your internal format is, to whatever the destination format is supposed to be.

Same goes for importing, only it works in the opposite direction.

Instead of hard-coding PDF support into the app, you could write it as a plugin. Want to add support for another format? Write a plugin.

It would be a bit more work initially, but it would make adding support for new formats a snap. icon_up.gif

Thanks for your help in that. That would be a good idea to put into the editor. icon_up.gif
User is offlineProfile CardPM
+Quote Post

Mommy
RE: A Simple Text Editor Question
9 Aug, 2008 - 01:52 PM
Post #9

D.I.C Head
Group Icon

Joined: 4 Aug, 2008
Posts: 104



Thanked: 2 times
My Contributions
HTML reference or w/e it's called.
User is offlineProfile CardPM
+Quote Post

red_4900
RE: A Simple Text Editor Question
10 Aug, 2008 - 07:28 AM
Post #10

Code Dreamers
****

Joined: 22 Feb, 2008
Posts: 818



Thanked: 11 times
My Contributions
features where I can type like in normal word processor and convert it to .tex file. I could use that. to cheat my assignment biggrin.gif
User is online!Profile CardPM
+Quote Post

abgorn
RE: A Simple Text Editor Question
10 Aug, 2008 - 08:19 AM
Post #11

Hello Crap for Brains
Group Icon

Joined: 5 Jun, 2008
Posts: 881



Thanked: 5 times
Dream Kudos: 50
My Contributions
QUOTE(red_4900 @ 10 Aug, 2008 - 08:28 AM) *

features where I can type like in normal word processor and convert it to .tex file. I could use that. to cheat my assignment biggrin.gif

Do you mean .txt?
User is offlineProfile CardPM
+Quote Post

Tom9729
RE: A Simple Text Editor Question
10 Aug, 2008 - 10:17 AM
Post #12

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,459



Thanked: 10 times
Dream Kudos: 325
My Contributions
QUOTE(abgorn @ 10 Aug, 2008 - 12:19 PM) *

QUOTE(red_4900 @ 10 Aug, 2008 - 08:28 AM) *

features where I can type like in normal word processor and convert it to .tex file. I could use that. to cheat my assignment biggrin.gif

Do you mean .txt?

No I think he means TeX.

red_4900, there are a couple LaTeX gui's out there. One I use is LyX. icon_up.gif
User is online!Profile CardPM
+Quote Post

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 09:28PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month