Forum > Coding >

Set XSHD file for AvalonEdit

Posts: 1590

Threads: 166

Joined: Apr, 2021

Reputation: 13

Posted

Hi.

So I am new in XAML and AvalonEdit stuff, and I wanted to ask how to change the higlighting using a file.

I tried using Immoone's higlighting but it erorrs me with that:

 

'XmlTextReader' is a variable but is used like a type

 

Now, before you say anything, I am new in that type of stuff, so don't say im stupid or something.

I just want help, thanks.

  • 0

Random quote here...

Posts: 271

Threads: 6

Joined: Mar, 2021

Reputation: 10

Replied

you can open xshd files with vscode and you can edit them to add your own keywords and other important factors. you can also edit the colours.

 

ofc u can do this with something like a source (give credits) or you can write it yourself

 

was this what your looking for?

  • 0

Website: HERE

Exploits I own: SynX

Contact: not ROVER6#5842 (my old one got termed)

Posts: 1590

Threads: 166

Joined: Apr, 2021

Reputation: 13

Replied

@ROVER6 no, i was looking for the code that will set higlighting to the one that is in a file already.

  • 0

Added

@atari Thanks a lot <3

  • 0

Random quote here...

Posts: 1167

Threads: 72

Joined: Oct, 2019

Reputation: 89

Replied

@VoidableMethod Hmm The Code Should Have Worked I Tested It Before Make Sure You Use The Proper Using Statement.

  • 0

Posts: 1590

Threads: 166

Joined: Apr, 2021

Reputation: 13

Replied

@ImmuneLion318 Yes, I forgot to add using System.Xml. Thanks.

  • 0

Random quote here...

Users viewing this thread:

( Members: 0, Guests: 0, Total: 0 )