Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 Dec 2013, 04:40
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Arrow Notepad++ Syntax Highlighter for vBulletin?

Does anyone know of a Notepad++ syntax highlighter that would work for vBulletin templates? I normally just use HTML, sometimes even PHP highlighting, but it would nice if there was something that played nice with <if> conditionals and variables.
__________________
Reply With Quote
  #2  
Old 16 Dec 2013, 07:33
DivisionByZero's Avatar
DivisionByZero DivisionByZero is offline
 
Join Date: Dec 2002
Real name: Chris
a long, LONG time ago I was contemplating on ripping out that Plain Jane text editor in the admincp and replace it with TinyMCE or something cool like that. Then I merged that into my custom admincp idea.

But if you want an external solution, EditPlus is easy enough to write a language reference script for.
__________________
Professional vB development since 2002.
References & Praise: 1|2|3|4|5|6|7|8
Reply With Quote
  #3  
Old 16 Dec 2013, 07:37
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
Take a look at the GeShi project
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #4  
Old 16 Dec 2013, 08:29
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Real name: Mark Daniel Martinez
Originally Posted by DivisionByZero View Post
a long, LONG time ago I was contemplating on ripping out that Plain Jane text editor in the admincp and replace it with TinyMCE or something cool like that. Then I merged that into my custom admincp idea.

But if you want an external solution, EditPlus is easy enough to write a language reference script for.
I started experimenting with Notepad++'s language styler when I first got it, and then realized it was probably going to be more trouble than it's worth. I guess no one delves into large template files enough to have already written one by now. What does EditPlus have along those lines? Like a built in styler?

Originally Posted by Simon Lloyd View Post
Take a look at the GeShi project
I'll check it out, too. Seems familiar somehow...
__________________
Reply With Quote
  #5  
Old 16 Dec 2013, 12:19
final kaoss final kaoss is offline
 
Join Date: Apr 2006
I haven't really tried to write one out but they have a very large selection of user submitted STX files.

I do remember that you can make & name small filters if you will that act like editor buttons.... like adding a line of code to it and then double click to insert it wherever.

Although I agree I've always used editplus over any editor since about 2005.

This will help you get started.
http://www.editplus.com/files.html

Features
Syntax highlighting

EditPlus supports powerful and customizable syntax highlighting for HTML, CSS, PHP, ASP, Perl, C/C++, Java, JavaScript and VBScript by default. Also, you can create your own syntax file to support other programming languages.

Internet features
Seamless web browser for previewing the content of your HTML document or Java applet without leaving the editor. Browser window also has common browser commands so you can browse Internet web sites as well as local HTML files.
FTP (also sftp and FTPS) feature for uploading your local files to FTP server or for editing remote files directly.
Highlights URL and e-mail addresses in normal text files and lets you activate them with a single keystroke (F8) or 'Ctrl + double-click'.
Hex Viewer

The Hex Viewer allows you to display current file in Hex mode. You can switch back and forth between normal editing window and the Hex Viewer with one command.

Code Folding

EditPlus supports fast and convenient code folding feature based on line indentation. You can hide or disply lines of code with its indent levels.

HTML toolbar

The HTML Toolbar allows you to insert common HTML tags quickly and easily. It also supports useful tools such as HTML Color Picker, Character Picker, Table Generator and Object Picker.

Document selector

The Document Selector offers quick mouse access to all document windows currently loaded. Much faster than selecting on Window menu or pressing Ctrl+Tab key multiple times.

User tools

EditPlus supports user-defined tools, help files and keystroke recording files. The output of tool execution can be captured in the Output Window, so that you can double-click the error line to automatically load the file and locate the cursor to that line.

Auto completion

Auto completion is a time-saving feature which changes a short abbreviation into a complete string. It supports Perl and C/C++ by default. Also, you can create your own auto completion file to support other programming languages.

Cliptext window

The cliptext window is collection of text clips for quick and easy access. You can easily customize them, and you can also create your own cliptext file.

Document template

Document template offers a quick start when you create a new document.

Other features

Line number, ruler, column selection, powerful search and replace, multiple undo/redo, spell checker, customizable keyboard shortcuts, and more.
Originally Posted by Digital Jedi View Post
I started experimenting with Notepad++'s language styler when I first got it, and then realized it was probably going to be more trouble than it's worth. I guess no one delves into large template files enough to have already written one by now. What does EditPlus have along those lines? Like a built in styler?


I'll check it out, too. Seems familiar somehow...
Reply With Quote
  #6  
Old 16 Dec 2013, 16:44
tbworld tbworld is offline
 
Join Date: Oct 2008
I'll check it out, too. Seems familiar somehow...
It has been around a long time. I am sure you have.

Somewhere, I wrote a quick pre-processor for newly created templates. It allowed us to use our own syntax for vBulletin nested elements, especially the more difficult "in-line" type. Unfortunately, we only wrote it to be a one way process.

A simple thing to implement if your writing a ton of templates.

Last edited by tbworld; 16 Dec 2013 at 19:10.
Reply With Quote
  #7  
Old 16 Dec 2013, 17:08
DivisionByZero's Avatar
DivisionByZero DivisionByZero is offline
 
Join Date: Dec 2002
Real name: Chris
geshi is not an editor... its simply a pretty-print formatter.

EditPlus is a free download if you want to try it. YOu create language styles in a simple text file.
__________________
Professional vB development since 2002.
References & Praise: 1|2|3|4|5|6|7|8
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
BB Code Enhancements Syntax Highlighter Lizard King vBulletin 3.7 Add-ons 19 30 Sep 2010 14:42



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:37.

Layout Options | Width: Wide Color: