Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6121797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:49:30+00:00 2026-05-23T15:49:30+00:00

Say I want to implement syntax highlighting in an application. The medium is not

  • 0

Say I want to implement syntax highlighting in an application. The medium is not a Windows Form, therefore I won’t be highlighting text in a normal textbox. Instead I just want to be able to read and understand the same information that Visual Studio uses to highlight text, and apply the logic where I need it. In case it is somehow relevant the target medium is an XNA window.

Is this legal and/or possible? If so, where do I find such an API?

EDIT: If anyone is curious, I am embedding an IronPython interpreter in an XNA window. It would be nice to be able to treat input and output to the same syntax highlighting that IronPython receives in Visual Studio.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T15:49:30+00:00Added an answer on May 23, 2026 at 3:49 pm

    I would recommend checking out Markdown with some additional info on Wikipedia.

    Update: Given your updated information (in the comments below) I would recommend Pygments which is a Python syntax highlighting engine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I want to create vb.net application in Visual studio 2005. What is the
Say I want to implement a database with a lock system, and I use
I want to implement Undo and Redo functionality not only for client side but
For simplicity, let's say I want to do implement a function which takes two
Let's say we want to implement an equivalent of the PHP's file_get_content . What
let's say i want to implement a distributed database (each node being the replica
I want to implement an application in Flex/Rails in Background as I know these
Say you want to implement a click tracker where you want to only count
I want to implement a web service for an Enterprise Application. Security is a
Lets say that I have a function todo() and I want to implement this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.