Syntax Highlighter

Started by vbgamer45, September 18, 2009, 04:53:14 AM

Previous topic - Next topic

SikLiFe

Is there a reason why the VB.NET syntax doesn't seem to work for me?
A great breakfast is always the right answer.

manixless

Hi siklife,

Could you please provide a topic/thread where I can see the error that you are experiencing?

Manfred

SikLiFe

I've read and from what i understand the alias would be VB.NET but HERE it just doesn't do anything unless im doing somthing wrong? Thanks. It's not to much of a problem, I could use VB, but different syntax's are highlighted in those languages.

I've posted a topic with the .net alias, vb6 alias, and a screen shot from .net actual code

thanks n advanced.
A great breakfast is always the right answer.

xaina

#23
Hola, espero estar publicando en el lugar correcto, si no es así, mis disculpas de ante mano.

Este es mi problema:
Tengo el smf montado en "localhost" y uso el theme "af316-smf(final)", al dejar algún codigo entre las etiquetas "code", no se visualiza como se espera, se muestra en forma vertical, como si no cojiera los saltos de linea, aquí una captura:



eso solo me sucede con ese theme, he probado con otros y va bien, pero de muchos que he visto, es el que mas me ha gustado, quisiera saber si hay manera de correguir ese pequeño error.

Dejo la traducción, disculpen, no hablo ingles.
Quote
I have the smf mounted on "localhost" and use the theme "af316-smf (final)", to leave some code between labels "code" is not displayed as expected, displayed vertically, as if the cojiera line breaks, here a screenshot:

s2.subirimagenes.com/privadas/previo/thump_772606pantallazo.png

That only happens to me with that theme, I have tried others and doing well, but many I have seen is the one I like, I wondered if there correguir way that little error.

thank you!

manixless

Quote from: siklife on December 07, 2009, 11:44:18 PM
Is there a reason why the VB.NET syntax doesn't seem to work for me?

Looks like it is not working in general. Let me contact the brush developer as soon I have a reply by him I will let you know.

xaina

I translated the post, sorry I do not speak English.

kiss

manixless

Quote from: xaina on December 09, 2009, 04:32:54 PM
I translated the post, sorry I do not speak English.

kiss

No te preocupes, es que no te he respondido porque aun no logro resolverte tu problema... hoy revisare tu caso :)

Pura vida

SikLiFe

Okay, I'll continue to check back, Thanks!
A great breakfast is always the right answer.


Satan911

Just installed on 1.1.11
Seems to work just great.

Dujma

#30
Can someone please explain to me how to make a BBC code apart from [code=alias]?

Like just [alias][/alias]?

Example [java]code[/java][/code]

amiralib

dont you want to upgrade it to SMF2.0 ??

KensonPlays

Can you update it to RC3???

Owner of Mesozoic Haven

ealexander

hi manfred that changes must be made if you want to smf 2RC2, thanks for your possible help
Greetings
foros peru
en el encontraras temas de interes como los sgtes:

Deportes     Estudiantes    Tv y Espectáculos       Universidades   
Amor y Sexualidad

LinK187

Can't get it to work for this theme: http://custom.simplemachines.org/themes/index.php?lemma=718             ?

I manually modified the index.template.php and copied the SyntaxHighlighter_1-0 folder to my defaul theme's folder.

PHP-Core

How could i get it to highlight syntax on a external page that show the latest posts ? can this be done.

jeb54321

This thread wouldn't be complete without a recommendation for an enhancement!  :-)

How about adding a parameter to let you control the starting line number?

For example:  <code=java line=133></code>

Which would display:

Code: (Java)
133. Line 1
134.   Line 2
135.     Line 3
...etc...

Venker



aegersz

I cannot Select and code and get the javascript error:

VM82 topicseen.html:702 Uncaught DOMException: Failed to execute 'setBaseAndExtent' on 'Selection': There is no child at offset 475.
    at smfSelectText (https://forum.drugs-and-users.org/Themes/default/scripts/script.js?fin20:1366:18)
    at HTMLAnchorElement.onclick (https://forum.drugs-and-users.org/index.php/topic,4211.msg43378/topicseen.html#new:702:446)
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Advertisement: