Syntax color printing when selecting block |
Site Admin
|
Make sure that Syntax Print is checked (it turns on the highlighter)
|
||||||||||||
|
Veteran
|
Of course, when I used the words "the syntax color is checked", I meant "syntax print"
|
||||||||||||
|
Site Admin
|
Then check your printer settings.
I'm pretty sure that when "Syntax Print" and "Use color" are both checked, PhpED sends colorized content to the printer. |
||||||||||||
|
Veteran
|
If you print a whole page of PHP code, the syntax color works. It is only not working when selecting and printing a block of code.
|
||||||||||||
|
Site Admin
|
does code you are trying to print contain opening php tag like <?php ?
|
||||||||||||
|
Veteran
|
no, the block code doesn't include PHP tags because it is a block taken in the middle of the page (mostly a bunch of functions) and the PHP tags are only in the top/bottom of the whole PHP page.
|
||||||||||||
|
Site Admin
|
without the php tags, the selection is treated as html, yet.
|
||||||||||||
|
Veteran
|
allright, but would it be possible in a future release to check for php tags out of the scope of the code block to use the syntax color when printing ?
For now, I think I'll just have to temporary add some PHP tags around my block just for printing it... |
||||||||||||
|
Site Admin
|
sure, we'll fix this.
|
||||||||||||
|
Veteran
|
Any update on this request ?
Btw, do u plan to improve the print settings (such as font face and size) in the near future ? Indeed, the default font size is really big and, when for bold words, some letters don't get fully printed (more precisely, the space between the letters is sometimes too small and there's an overlap). |
||||||||||||
|
Site Admin
|
It's all already fixed. Did you give build-4621 a try?
Regarding "default font size", when we send content to the printer we use font currently selected for the editor, its size in "pt" remains the same and is scaled by OS. We have no plans on improving printing subsystem in v4.6, perhaps will do it in the next major version. |
||||||||||||
|
Syntax color printing when selecting block |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by