Click here to Skip to main content
15,879,004 members
Home / Discussions / C#
   

C#

 
GeneralRe: Best method for syntax highlighting Pin
Luc Pattyn15-Jul-09 6:43
sitebuilderLuc Pattyn15-Jul-09 6:43 
GeneralRe: Best method for syntax highlighting Pin
WebMaster15-Jul-09 8:34
WebMaster15-Jul-09 8:34 
GeneralRe: Best method for syntax highlighting Pin
Luc Pattyn15-Jul-09 8:40
sitebuilderLuc Pattyn15-Jul-09 8:40 
GeneralRe: Best method for syntax highlighting Pin
WebMaster16-Jul-09 6:12
WebMaster16-Jul-09 6:12 
GeneralRe: Best method for syntax highlighting Pin
Luc Pattyn16-Jul-09 6:49
sitebuilderLuc Pattyn16-Jul-09 6:49 
GeneralRe: Best method for syntax highlighting Pin
WebMaster16-Jul-09 21:54
WebMaster16-Jul-09 21:54 
GeneralRe: Best method for syntax highlighting Pin
Luc Pattyn16-Jul-09 23:01
sitebuilderLuc Pattyn16-Jul-09 23:01 
GeneralRe: Best method for syntax highlighting Pin
WebMaster17-Jul-09 3:14
WebMaster17-Jul-09 3:14 
Yay, I did something correct! Smile | :)
However, it still seems a little off, for example what should have given me char 1, line 1, give sme char 18, line 24. This is what I have:
colNum = (Cursor.Position.X / charWidth) + this.stormParent.VerticalScroll.Value;
lineNum = (Cursor.Position.Y / (int)this.stormParent.Font.Size) + this.stormParent.HorizontalScroll.Value;


As I said, math isn't my strongest side xD I'm more at app design and such.
GeneralRe: Best method for syntax highlighting Pin
Luc Pattyn17-Jul-09 3:26
sitebuilderLuc Pattyn17-Jul-09 3:26 
GeneralRe: Best method for syntax highlighting Pin
WebMaster17-Jul-09 4:59
WebMaster17-Jul-09 4:59 
GeneralRe: Best method for syntax highlighting Pin
Luc Pattyn17-Jul-09 11:15
sitebuilderLuc Pattyn17-Jul-09 11:15 
GeneralRe: Best method for syntax highlighting Pin
WebMaster17-Jul-09 21:39
WebMaster17-Jul-09 21:39 
GeneralRe: Best method for syntax highlighting Pin
WebMaster28-Jul-09 8:41
WebMaster28-Jul-09 8:41 
GeneralRe: Best method for syntax highlighting Pin
Luc Pattyn28-Jul-09 22:37
sitebuilderLuc Pattyn28-Jul-09 22:37 
GeneralRe: Best method for syntax highlighting Pin
Kevin Marois14-Jul-09 9:08
professionalKevin Marois14-Jul-09 9:08 
GeneralRe: Best method for syntax highlighting Pin
Adam R Harris14-Jul-09 10:32
Adam R Harris14-Jul-09 10:32 
QuestionPassing a pointer to array of structs via P/Invoke Pin
Klempie14-Jul-09 6:29
Klempie14-Jul-09 6:29 
Questioncustomizing a ToolStripTextBox Pin
Jim Crafton14-Jul-09 5:38
Jim Crafton14-Jul-09 5:38 
AnswerRe: customizing a ToolStripTextBox Pin
Henry Minute14-Jul-09 5:53
Henry Minute14-Jul-09 5:53 
GeneralRe: customizing a ToolStripTextBox Pin
Jim Crafton14-Jul-09 6:04
Jim Crafton14-Jul-09 6:04 
GeneralRe: customizing a ToolStripTextBox Pin
DaveyM6914-Jul-09 6:26
professionalDaveyM6914-Jul-09 6:26 
Questionreturn string Pin
AndyInUK14-Jul-09 5:22
AndyInUK14-Jul-09 5:22 
AnswerRe: return string Pin
Simon P Stevens14-Jul-09 5:28
Simon P Stevens14-Jul-09 5:28 
GeneralRe: return string Pin
AndyInUK14-Jul-09 5:36
AndyInUK14-Jul-09 5:36 
AnswerRe: return string PinPopular
Luc Pattyn14-Jul-09 5:42
sitebuilderLuc Pattyn14-Jul-09 5:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.