{"action":"closed","issue":{"url":"https://api.github.com/repos/jacobslusser/ScintillaNET/issues/140","labels_url":"https://api.github.com/repos/jacobslusser/ScintillaNET/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/jacobslusser/ScintillaNET/issues/140/comments","events_url":"https://api.github.com/repos/jacobslusser/ScintillaNET/issues/140/events","html_url":"https://github.com/jacobslusser/ScintillaNET/issues/140","id":117599488,"number":140,"title":"VB.Net Syles","user":{"login":"KaosKidd","id":15909240,"avatar_url":"https://avatars.githubusercontent.com/u/15909240?v=3","gravatar_id":"","url":"https://api.github.com/users/KaosKidd","html_url":"https://github.com/KaosKidd","followers_url":"https://api.github.com/users/KaosKidd/followers","following_url":"https://api.github.com/users/KaosKidd/following{/other_user}","gists_url":"https://api.github.com/users/KaosKidd/gists{/gist_id}","starred_url":"https://api.github.com/users/KaosKidd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaosKidd/subscriptions","organizations_url":"https://api.github.com/users/KaosKidd/orgs","repos_url":"https://api.github.com/users/KaosKidd/repos","events_url":"https://api.github.com/users/KaosKidd/events{/privacy}","received_events_url":"https://api.github.com/users/KaosKidd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-18T14:35:59Z","updated_at":"2015-11-20T13:09:16Z","closed_at":"2015-11-20T13:09:16Z","body":"Hi Jacob;  Love the control, thank you very much for all the work you've put into it.\r\nI'm using VB.Net to create a \"hybrid\" editor, centered around the most current version of Scintilla.  I've followed all of your posts, and I can't seem to get the lexer to highlight VBScript,  Here is a bit of the code that I have in place:\r\n        With Scintilla1\r\n            .Lexer = ScintillaNET.Lexer.VbScript\r\n            .LexerLanguage = \"vbscript\"\r\n            .StyleResetDefault()\r\n            Call Me.SetFontSize(CInt(sLastFontSize))\r\n            Call Me.SetFontName(sLastFontUsed)\r\n            .StyleClearAll()\r\n\r\n            .Styles(Style.VbScript.Comment).ForeColor = Color.Green\r\n            .Styles(Style.VbScript.Keyword).ForeColor = Color.Blue\r\n            .Styles(Style.VbScript.Keyword).ForeColor = Color.Blue\r\n            .Styles(Style.VbScript.Keyword2).ForeColor = Color.Blue\r\n            .Styles(Style.VbScript.Keyword3).ForeColor = Color.Blue\r\n            .Styles(Style.VbScript.Keyword4).ForeColor = Color.Blue\r\n            .Styles(Style.VbScript.Operator).ForeColor = Color.Red\r\n            .Styles(Style.VbScript.Number).ForeColor = Color.Gray\r\n            .Styles(Style.VbScript.String).ForeColor = Color.Gray\r\n             sVBWordList = Trim(Join(Split(My.Resources.VBWordList, vbCrLf), \" \"))\r\n             sM3WordList = Trim(Join(Split(My.Resources.M3WordList, vbCrLf), \" \"))\r\n            .SetKeywords(0, sVBWordList)\r\n            .SetKeywords(1, sVBWordList)\r\n            .SetKeywords(2, sM3WordList)\r\n            .SetKeywords(3, sVBWordList)\r\n            .SetKeywords(4, sM3WordList)\r\n        End With\r\nSo the code that sets the font size works (loops through all of the indexes and sets the size), and the code to set the font name works (again, loops through all of the indexes and sets the font.).  From what I understand, the code above should work, but the only parts that are working are the comments, numbers,strings and operators.  Not one of the key words lists in sVBWordList or sM3WordList get highlighted.  I've checked the word lists to make sure they are a space delimited list, with no other characters then text and space.\r\n  I'm at a loss here because I can't seem to find what I'm doing wrong.  Could you please poke, push or prod me int the correct direction?\r\nThanks for the awesome control and any help you can toss my way!\r\nFred Kerber\r\n"}}