It is currently Thu Jun 20, 2013 2:33 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Spelling checking
PostPosted: Mon Apr 30, 2012 9:55 am 
Offline
User
User

Joined: Thu Feb 19, 2004 1:25 pm
Posts: 13
It would probably be a bigger task to implement, but what would really be a nifty feature would be integrated (but optional!) spelling checking support for StringGadget and EditorGadget maybe in the form of a #PB_String_Spellcheck flag.

There are free dictionaries available from the open source scene iirc, which could be used.


Top
 Profile  
 
 Post subject: Re: Spelling checking
PostPosted: Mon Apr 30, 2012 10:32 am 
Offline
Addict
Addict

Joined: Thu Nov 01, 2007 5:37 pm
Posts: 1579
Location: Germany
-1

You can easily implement it yourself. Too much options would need to be adjusted for your own needs which can't be expressed with a simple #PB_String_Spellcheck flag: Language, precision, which dictionary?, grammar? etc.


Top
 Profile  
 
 Post subject: Re: Spelling checking
PostPosted: Mon Apr 30, 2012 11:22 am 
Offline
User
User

Joined: Thu Feb 19, 2004 1:25 pm
Posts: 13
I can't highlight single words in a StringGadget, so how would someone implement that from the user side of PB?

I don't think too much options would be the problem. Precision could just be a standard value, i have yet to encounter a Program that lets users select that.
A PB Program could just use the dictionary it finds in its root directory by default with one single additional function like SetGadgetDictionary or SetDictionary to select another for multi language support.

This is most likely not going to happen, but I do think the amount of Apps profiting from something like that would be substantial.


Top
 Profile  
 
 Post subject: Re: Spelling checking
PostPosted: Mon Apr 30, 2012 1:12 pm 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1480
Zaphod wrote:
I can't highlight single words in a StringGadget

What do you mean? By using the mouse, or by code? Both can certainly be done.

_________________
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!


Top
 Profile  
 
 Post subject: Re: Spelling checking
PostPosted: Mon Apr 30, 2012 3:41 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Feb 14, 2006 9:27 pm
Posts: 371
Location: London, UK
This is more specialised stuff that should be managed by the programmer. Really all PB should have is core widgets and functions like other languages have.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Spelling checking
PostPosted: Mon Apr 30, 2012 8:43 pm 
Offline
User
User

Joined: Thu Feb 19, 2004 1:25 pm
Posts: 13
MachineCode wrote:
Zaphod wrote:
I can't highlight single words in a StringGadget

What do you mean? By using the mouse, or by code? Both can certainly be done.


Well, selecting isn't what I mean by highlighting. I can't change the color of a single word or draw a thin red line below it. I could probably do that with winapi, but then I would give up portability which is the most important feature for me and I have no clue how that could be done on Gtk and Cocoa.

moogle wrote:
This is more specialised stuff that should be managed by the programmer. Really all PB should have is core widgets and functions like other languages have.


Same could be said for the 3d engine. This has such a wide area of uses that I think it should be a framework feature.


Top
 Profile  
 
 Post subject: Re: Spelling checking
PostPosted: Mon Apr 30, 2012 8:50 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Feb 14, 2006 9:27 pm
Posts: 371
Location: London, UK
Zaphod wrote:
Same could be said for the 3d engine. This has such a wide area of uses that I think it should be a framework feature.


I agree on the 3D engine, however you still have to use the engine commands to make something. This spell checking idea seems like the PB team making it instead.


If the idea is to allow us to change the style and format of words in text boxes (which would help users make a spellchecking style program) then that's a decent proposal where you can add your own spell checking features.


However just adding spellchecking into PB seems like a silly idea.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Exabot [Bot] and 2 guests


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

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye