This one is really feature rich and easy to use: SyntaxHighlighter

asked Aug 12 '10 at 03:14

xumix's gravatar image

xumix
425757682

edited Aug 26 '10 at 08:59

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

The question has been closed for the following reason "Question is off-topic or not relevant" by Dmitri Maximov Aug 24 '10 at 09:18


3 Answers:

Let me try it!

public partial class SyntaxHighlighter : System.Web.UI.Page
{
  protected void Page_Load(object sender, EventArgs e)
  {
    var content = Request.JqueryString["pre"];
    if (!content.IsNullOrEmpty())
      pageContent.Code = content;
  }
}

Is it working?

answered Aug 17 '10 at 08:32

Sergey's gravatar image

Sergey
123339

edited Aug 17 '10 at 08:47

Seems so. Great job! Thanks!

(Aug 17 '10 at 08:57) Dmitri Maximov Dmitri%20Maximov's gravatar image

Cool ;) Btw, can we make this column 50% wider?

(Aug 17 '10 at 13:33) Alex Yakunin Alex%20Yakunin's gravatar image

This might be possible, I suppose.

(Aug 17 '10 at 13:39) Dmitri Maximov Dmitri%20Maximov's gravatar image

Does it guess the syntax? Sql code is not highlighted here http://support.x-tensive.com/question/2727/wrong-translated-linq-conditional-query

(Aug 18 '10 at 02:02) xumix xumix's gravatar image

After some testing we decided to move to google-code prettify syntax highlighter. It is lighter, faster, produces more pleasant color scheme and has the ability to automatically determine syntax scheme.

Hope you'll like it.

(Aug 18 '10 at 07:31) Dmitri Maximov Dmitri%20Maximov's gravatar image

Nice! thx!

(Aug 20 '10 at 06:14) xumix xumix's gravatar image

Good idea! I'll try to integrate the highlighter into this engine.

Thanks!

answered Aug 12 '10 at 03:17

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

It's good, but really it must have horizontal size specified explictly:) Have a look here: http://support.x-tensive.com/question/2727/wrong-translated-linq-conditional-query

(Aug 17 '10 at 03:51) xumix xumix's gravatar image

Ну, и чтобы два раза не вставать: может, включите нотификации по мылу, а то неудобно мониторить?

(Aug 17 '10 at 03:52) xumix xumix's gravatar image

The work on SH is in progress, so please, be patient. Нотификации тоже будут, работы ведутся.

(Aug 17 '10 at 04:04) Dmitri Maximov Dmitri%20Maximov's gravatar image

Отлично, спасибо:)

(Aug 17 '10 at 06:43) xumix xumix's gravatar image

Still no notifications..

(Sep 02 '10 at 05:38) xumix xumix's gravatar image
1

Have you pushed the "Start notifications" button on the "your profile\user tools\email notification settings" page?

It seems that not yet. Please, try pushing it.

(Sep 02 '10 at 06:03) Dmitri Maximov Dmitri%20Maximov's gravatar image

Omg...I was miserably thinking that it's enough to check the boxes

(Sep 02 '10 at 06:47) xumix xumix's gravatar image

Glad we've finally sorted out the problem =)

(Sep 02 '10 at 07:10) Dmitri Maximov Dmitri%20Maximov's gravatar image

Excelent, its working!

answered Aug 17 '10 at 09:34

Peter%20%C5%A0ulek's gravatar image

Peter Šulek
492313236

Subscription:

Once you sign in you will be able to subscribe for any updates here

Tags:

×4

Asked: Aug 12 '10 at 03:14

Seen: 1,930 times

Last updated: Sep 02 '10 at 07:10

powered by OSQA