Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / VB 2005 Code Editing Control

Author
Message
Bozzy
18
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 24th Dec 2007 03:44
Hi,

I'm looking for a VB 2005 code editing control that I can use for my scripting language (therefore allow me my own syntax). It would be nice for intellisense etc... good features

Does one of these exist?

MERRY X-MAS EVERYBODY

Cheers,
Bozzy

"I'm a firm believer that if a team scores one goal, then the other has to score two to win."
Blood Of The Prophets
17
Years of Service
User Offline
Joined: 6th Nov 2007
Location:
Posted: 24th Dec 2007 11:13
The ones that are available usually cost quite a bit of money, for example:

http://www.actiprosoftware.com/Products/DotNet/WindowsForms/SyntaxEditor/default.aspx
http://www.bestshareware.net/download/editornet.htm

This here explains how to make your own. It's in C# but that's pretty easy to port to VB.net

http://www.c-sharpcorner.com/UploadFile/duncanharris/SyntaxHighlightInRichTextBoxP212012005044912AM/SyntaxHighlightInRichTextBoxP2.aspx

And lastly here's a free syntax editor control I just found but i'm not sure if it works:

http://www.dotnetfireball.net/

I couldn't think of a signature, so I put this.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 24th Dec 2007 13:03 Edited at: 24th Dec 2007 13:07
What did Hyrichter use for CodeSurge?

[EDIT] Found it and it's free - Synedit - http://synedit.sourceforge.net/
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 24th Dec 2007 13:15 Edited at: 24th Dec 2007 13:16
Codemax isnt bad, and theres a free version (with their logo in the lower right portion of the edit area). Thats not a problem if you are somewhat clever And I dont mean by hacking or craking any of their binaries - that would be wrong. Lets just say its not impossible to "visually mask" things that you dont want showing.

My DBP plugins page is now hosted [href]here[/href]
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 24th Dec 2007 17:19
I'm going to be using Scintilla with Purebasic for my scripting language. It comes with built in support for LUA, Blitzbasic (not that I care) and about 70 other languages. Sadly there isn't support for DBP built in. The best thing is that it works right, and has function folding that also works right.

http://scintilla.sourceforge.net/


Come see the WIP!
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 24th Dec 2007 18:26
Programmer's Notepad is similar to Scintilla, since it has syntax highlighting for many programming languages (and if you know the XML structure, you can make your own), plus, it's sexier

Your signature has been erased by a mod
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 24th Dec 2007 21:59
Quote: "and if you know the XML structure, you can make your own"

forgot to mention that about Codemax. You can provide a custom XML file to describe any language to the control's keyword hilighting, function folding features, etc etc

My DBP plugins page is now hosted [href]here[/href]
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 24th Dec 2007 23:35
Quote: "What did Hyrichter use for CodeSurge?"

Yes, I used Synedit. However, you have to realize that it only works with Delphi and C++ builder.

Scintilla would probably be your best choice, if it works with VB.net.

CodeSurge
Version 1.0 finally released! Code your DBP projects in style. (And save the kittens!)
Bozzy
18
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 25th Dec 2007 00:57 Edited at: 25th Dec 2007 00:57
Right I've downloaded the Scintilla source... How do I even implement it in my project?

"I'm a firm believer that if a team scores one goal, then the other has to score two to win."
Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 25th Dec 2007 02:23
This would probably do it...

http://mewsoft.com/cgi-bin/forum/forum.cgi?action=ViewTopic&Topic=1494&Forum=1&Page=1&Period=0a&Lang=English

Get the DLL by downloading SciTE from the Scintilla site, the link above is an ActiveX wrapper for it for use in Visual Studio.


Come see the WIP!

Login to post a reply

Server time is: 2024-11-19 17:26:43
Your offset time is: 2024-11-19 17:26:43