开发者

Frameworks to use to build applications handling text

开发者 https://www.devze.com 2022-12-14 01:37 出处:网络
What are the tird-party frameworks that are more useful to create a generic application? I am looking for a fr开发者_JAVA百科amework that is well documented, and that would allow me to not write from

What are the tird-party frameworks that are more useful to create a generic application? I am looking for a fr开发者_JAVA百科amework that is well documented, and that would allow me to not write from zero a set of classes that every applications should have.

There are some frameworks made available free from some software houses, but the documentation is not enough to help to use the framework.


I've heard that Cocoa is a great framework for Mac development. :)

**Edit: ** Now that I know what you're looking for, here's some links:

http://sourceforge.net/projects/smultron/ (An open source text editor. You might be able to use some of the code here)

http://www.hcs.harvard.edu/~jrus/Site/Cocoa%20Text%20System.html (A huge post about the Cocoa text system)

http://www.dabble.org/viallover/#downloads (Another open source project which makes text entry respond like vi)

Good Luck!


Assuming you've perused the system's integrated frameworks/capabilities, and not knowing what you need beyond them, I recommend:

http://www.omnigroup.com/developer/

EDIT: In response to the clarification:

For string colorization and syntax highlighting, there are classes like CFAttributedString and NSAttributedString. That will require you to parse the sources, but is the basis for simple text drawing. You may also want to see CoreText.framework (ships with OS X). For something that would likely require the least work, Scintilla was (last I checked) in the process of supporting OS X. Though I do not know of a framework that meets all your marks in that regard.

Regarding AppleScript: Apple does provide these some applescript objects (syntax colorization by - [NSApplescript richTextSource]). Apple has not provided this support for other languages, and it is a very long, complicated process, depending on the languages you'd like to support. If there are many, I would choose Scintilla.


Identifying your project needs is the most important step. If there were a end-all be-all framework then everyone would use it and you would probably already know the answer to this question. There is no jesus of frameworks. From the basic sense of your question, I'm wondering if you have dug deep enough into the built-in framework of your chosen language? Most (good) languages have some built in libraries that accomplish most "basic" or "generic" tasks.

Once you dig deep enough into your language to find the bottom, THAT is when you need to look for a framework.

0

精彩评论

暂无评论...
验证码 换一张
取 消