Get A .NET Plugin For CodeRay (or Any .NET Syntax Highlighting)?
Sep 10, 2010
I recently set up a Redmine server for my time. Redmine's Wiki uses CodeRay for syntax highlighting. However, most of my team prefers to code in VB.NET, which CodeRay doesn't support.Are there any plugins out there that offer syntax highlighting for VB.NET in CodeRay? If not in CodeRay, maybe through some other library (that could be integrated into Redmine)?
View 2 Replies
ADVERTISEMENT
Oct 12, 2011
I am having an issue trying to figure this out. I am writing a script editor that uses tabs (a tab control) and I want to implement syntax highlighting. My issue is that every sample I can find on syntax highlighting uses
Private Sub RichTextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged
View 1 Replies
Dec 29, 2011
I've been trying to get syntax highlighting for a RichTextBox.I am struggling trying to code it myself, so I looked around a bit, and found a cool .dll file called ColorCode.
[URL]
So I went into my project and imported the ColorCode.dll file. (Project>Add Reference)However, I don't know how to use it!?Is there anyone out there that has used this .dll file?How can I use it to get Syntax Hilighting in RichTextBox1?
View 16 Replies
Jul 15, 2010
Looking in the "Display Items" list in the "Fonts and Colors" section of options, I don't see a way to color code dates. I can color numbers, strings, comments... all kinds of stuff, are Date and DateTime hiding under something else?
View 1 Replies
Feb 5, 2011
I've been looking everywhere for a solution to this problem. I'm new to VB, well programming in general, and am using VS2010 ultimate. Everything has been running smoothly until recently. For some reason, there is no syntax highlighting for my code. All other code is highlighted and colored correctly, just VB is not. All i get is black characters. Keywords, comments, everything is black! I have attempted to reset all the settings, and I have made sure that the font settings are all set to default.
[Code]....
View 5 Replies
Jan 9, 2009
I have a richtextbox on my form and currently have made a simple syntax highlighting for it. It works great with a small amount of text but as the text amount increases it starts flashing and locks the textbox while typing.
This is my current code. I call the sub on the textchanged event.Basically what happens is I have a list of words that it checks for and if it finds it, it colors the word.
[Code]...
View 2 Replies
Aug 1, 2011
I'm building an app that has an sql editor with syntax highlighting and intellisense. I've got the frame, but i'm stuck with the re-coloring of the RTBSuppose the RTB has got a large volume of lines. when i start editing, the on-textchange event triggers the re-coloring of the current line. using;
- selectionStart
- selectionLength
- selectionColor
[code].....
View 4 Replies
Jan 10, 2010
Ok, So i am building a code editor for a new Multi-Player modification thats being coded (IV-MP), And i was looking into making the syntax of the code highlight, Like it dose on this picture:
The code is 'Squirrel', But i totally have no clue on how to make it highlight like in those pictures, And all the code would be in a large Rich textbox.
View 7 Replies
Sep 29, 2010
I need help Related to this form [URL]...Related to that topic Using the same code how can i add more then one color so how can i add it more then once So like words = the and bob ect... but I make a new dim call it words 2 = for next then ect... diffrent color I do this and it cancels out the blue the first one, so like this
[Code]...
So then i try it purple works but now blue does not..i know its possible with this one! All i want is to be able to add other words in a different color! Because this code works like a charm
View 7 Replies
Dec 10, 2011
How to add a Visual Basic .NET syntax highlighting to CodeMirror editor? Does exists the mode for this language on any library? What should I correct except keywords, blockKeywords and atoms? [code]
View 1 Replies
Dec 26, 2011
I want to have syntax highlighting for Java in RichTextBox1.
When the user entres "//" (without quotes), i want the "//" to turn green, while the rest of the text stays black.
i've started with:
If RichTextBox1.Text.ToLower.Contains("//") Then
'do something
End If
View 3 Replies
Apr 23, 2008
I am currently working on a code editor program for Linden Scripting Language (Second Life Code) and I am having a lot of trouble using the Syntax Highlighting class which i have found on a website [URL] I dont understand, the Class inherits the System.Windows.Forms.RichTextBox so it should change the color of the text if i type one of the keywords shouldnt it and i should not have to do any codeing for the RTB (or do i?)
View 5 Replies
Sep 6, 2010
I have the following
Private Sub RichTextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox1.TextChanged
Dim words As List(Of String) = New List(Of String)(New String() {"select", "insert", "delete", "truncate", _
"from", "where", "into", "inner", "update", "outer", "on", "is", "declare", "set", "use", "values", "as", _
[code]....
The only problem is that if I type one of the key words, the word highlights, but if i type a word with one of the key words within it, part of it gets highlights as well.Example:
drop
dropped
View 24 Replies
Sep 23, 2010
I am trying to build a simple syntax highlighter editor along with undo/redo feature. I have the code to syntax highlight the code on "TextChange" event but the undo/redo feature does not work.Any work arounds on implementing syntax highlighting with undo/redo?
View 2 Replies
Jun 22, 2010
i planned to write a syntax highlighting application for a C/AL editor. I have a tool which has a little autocomplete function in C/AL.At first i would test it in my notepad. I thought about this procedure.1. Start application (minimized in tray, defined match words)2. Open Notepad (my application notice it)3. While typing the application the color of my text changes in notepad
View 4 Replies
Apr 1, 2011
Dim listbox1 As New ListBox
listbox1.Items.Add("<br/>")
Dim int As Integer = 0
Dim line As String = RichTextBox1.GetLineFromCharIndex(RichTextBox1.SelectionStart)
For Each item In listbox1.Items
[Code] .....
My coding selects an item from the list box and tries to color the words in the currently selected line, however, it often colors characters that come after the instance. Why is this happening?
View 2 Replies
Aug 25, 2010
Types have their own color (cyan by default).Enter completes the auto-complete suggestion.
View 1 Replies
Dec 17, 2009
I'm trying to make a TextBox with syntax highlighting (for (HTML/CSS) in VB.NET 2008.I figured that if I use RichTextBox.Find(), I can color specific text, but then I need to call RichTextBox.DeselectAll(). The problem is that the the cursor jumps to the beginning of the RTB.
View 1 Replies
Dec 15, 2010
i need to develop a plugin to evaluate web interfaces. Can someone guide me about how to develop plugin in vb 2008 express.
View 4 Replies
Jan 19, 2010
I am working on a migration project to convert a Visual Basic 6 system to a new platform. To make life easier for the programmers I would like to develop some plug-ins for the Microsoft Visual Basic 6 IDE. But until now I've found only information about using vb6 to write plug-ins for other programs. how to create a plug-in for the Microsoft Visual Basic 6 IDE (SP6)?
View 3 Replies
Jun 1, 2011
Is there a significant enough difference with .NET from regular native code to maketraditional plugin systems not very useful? Either way, there must be some system for making a program extensible after it is compiled. To allow third party development withoureleasing the source code. Anyone have info on this? I said .NET, but of course specifically I mean Visual Basic
View 2 Replies
Jun 9, 2011
I've got a C#.NET background and due to circumstances I'm trying to make a plugin written in VB.NET. I've created a new class project which gives me a DLL. This class implements a C# interface which all works.My only question is this... In my C# code I've got an implemented DLL (which loads at runtime) with the following declaration before the class...
[Plugin(PluginType.Storage)]
public class XmlPlugin<T> : IStoragePlugin<T>
{
[code]....
How do I write [Plugin(PluginType.Storage)] in VB syntax?
View 2 Replies
Aug 11, 2009
make a way for my webbrowser to be able to add plug in?
View 4 Replies
Oct 28, 2009
Ive created an application that reads plugins but I can't figure out a way of making a form thats housed in the plugin into an MDI for my existing application.[code]...
View 3 Replies
Dec 4, 2007
I've been reading a lot of the posts but i just can't seem to get mine to work,What am i suppose to fill in under Server Name? i'm using my godaddy's free hosting account's mysql but i can't seem to find any thing that'll teach me how to use that exactly it just keep saying 'unable to connect to any of the specified mysql hosts' am i filling in something wrongly?
View 5 Replies
Oct 4, 2010
For many Java games/programs I use, you can download plugins/mods. Now I'm wondering if this is possible in VB?
View 3 Replies
Nov 5, 2009
I need to write an app that that will iterate over our database, and perform various anaylsis on each record. In order to do this (partially for the learning exercise in creating plugin support) I want to use a Plugin model.
Currently, I have a simple Interface in my main app, which plugins can Implement. My app then loads all DLL's in a folder looking for ones implementing the Interface.
As you can see in the pseudo-code below, I have to keep performing a loop through all loaded plugins calling the process methods.
Sub ProcessData()
For Each Record In MyDataSet
For Each Plugin In MyPluginCollection
[Code].....
View 3 Replies
Mar 8, 2012
I am trying to make a plugin system in vb.net and i am using interfaces to do that. I have managed to implement the plugins but now i am having problems with setting the plugins in a dictionary or some sort of array.
The system is simple. I have the main application and i have plugins. The application needs 2 mandatory plugins and that is data and authentication. Other plugins are free to use so i have 3 interfaces. Data, Authentication and CustomPlugins.
I load the plugins with this
CODE:
It works fine like this but i want to make a collection of plugins because i don't know how many plugins the customer make. So initially i thought to make a collection
CODE:
But that doesn't work. The main focus is to load as many plugins as i like but have then in some sort of array. A dictionary would be perfect but is not a must.
View 2 Replies
May 14, 2009
i want to implement in a program. I'm not asking for code just some advice and maybe a link or 3 to useful pages on the internet.I want to create a plugin system for an application that i want to make. The idea for the plugin system is based on the following...
1-Some graphics editing programs have what i think is called a filter/effects chain. its where you make a list of filters and settings that the program runs to edit the image.
2-In yahoo pipes you take small parts and use them to complete tasks for you mashup (like pulling all the images returned in a search and displaying them).
The system i want advice on is basically a plugin chain system modeled after these 2 idea's where the user selects plugin's and forms a chain out of them.for instance if i wanted to display a picture then i would form a chain of plugins like this
legend:[(inputs)what it does(outputs)]
[show open dialog plugin(output filepath)] -> [(filepath input)open picture plugin(output bitmap object)]->[(input bitmap object)Display a picture plugin(make a form for display)]
The code for the task's will of course be in the plugin's.The problem is i have never done any plugin system before. the hardest part i need help with is getting the plugin's loaded and sending the output's to each other. Also another problem i think is that the plugin's could be for anything (parsing text, displaying a picture, opening a url, downloading a file, etc, etc)Again I'm not asking for code just advice and some useful links to information.
View 1 Replies
Jun 1, 2010
I have a windows form application in which I'm attempting to utilize a plugin (class library). In the code I have it load the assembly from a dll file, which means I have not been able to debug. Furthermore I have not found out how to compile the library so I've had to use the debuged dll version for testing. I've run into a bug in which I create a new object and send that data through an interface to the plugin in an attempt to retrieve a blank slate group box from the plugin. However instead of reading the parameter as a new object i managed to step through the code once (don't ask me how, I don't know and I haven't been able to repeat it) and it appeared that the code was registering the parameter as "nothing" thus why I received a null reference error in the main program.
View 2 Replies