You are here: PSPad forum > English discussion forum > Re: reformat html code

Re: reformat html code

#1 reformat html code

Posted by: techpaul702 | Date: 2017-10-12 22:48 | IP: IP Logged

When I load a .html or .htm file the reformat html function is available.
How can I make the reformat html available when I load a .aspx file

Options: Reply | Quote | Up ^


#2 Re: reformat html code

Posted by: pspad | Date: 2017-10-13 03:58 | IP: IP Logged

Hello

Check on the status bar, if there is used highlighter for HTML or any web scripting language.
If not, you assign extension to any highlighter what PSpad doesn't recognize as HTML based.
You can anytime change highlighter with tool bat change syntax button or use menu from HTML menu

Options: Reply | Quote | Up ^


#3 Re: reformat html code

Posted by: techpaul702 | Date: 2017-10-13 17:03 | IP: IP Logged

I just added *.aspx to html highlighter section as you said
and it works perfectly.

Thank you

Options: Reply | Quote | Up ^


#4 Re: reformat html code

Posted by: pspad | Date: 2017-10-13 20:16 | IP: IP Logged

Hello

Maybe better will be add ASPX as highlighter for <? ?> in program settings / Multihighlighter. This will embed your scripts in HTML and starts consider ASPX as HTML family language

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2018 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR