»
« home   paste   Anonymous | Login | Signup for a new account 04-26-2017 13:53 CEST
 
* X »
«
GeSHi - Generic Syntax Highlighter Syntax Coloriser for PHP
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000055 [GeSHi] core feature always 12-24-05 13:42 02-18-06 11:42
Reporter BenBE View Status public  
Assigned To nigel
Priority high Resolution fixed  
Status closed   Product Version 1.1.1alpha3
Summary 0000055: Theme loading performed at earliest in $G->ParseCode
Description Due to bug 0000054 you should (for performance reasons) only save the preference of themes to load (bug 0000043, note 180) when $G->setTheme is called and as soon as the parsing should be done in $G->parseCode load the actual theme data to use.

To load data only once if rendering multiple sources with one GeSHi object and no changes to the theme to load have been done, you could store a "requires reload" flag from within $G->setTheme.
Additional Information The current GeSHi class doesn't allow for theme setup at runtime ;-) cf. 0000054
Attached Files

- Relationships
related to 0000043closed nigel additional functions for theme enumeration 
child of 0000054closed nigel $G->setTheme has no effect 

- Notes
(0000203)
nigel
12-24-05 15:29

Good ideas, I'll fix them.
 
(0000214)
nigel
01-02-06 13:26

Fixed now, setTheme also takes either an array of themes or a string, as per bug 0000043.
 
(0000322)
nigel
02-18-06 11:42

Issue closed.
 

- Issue History
Date Modified Username Field Change
12-24-05 13:42 BenBE New Issue
12-24-05 13:42 BenBE Status new => assigned
12-24-05 13:42 BenBE Assigned To  => nigel
12-24-05 13:43 BenBE Relationship added child of 0000054
12-24-05 13:43 BenBE Relationship added related to 0000043
12-24-05 13:46 BenBE Description Updated
12-24-05 13:46 BenBE Additional Information Updated
12-24-05 15:29 nigel Note Added: 0000203
01-02-06 13:26 nigel Note Added: 0000214
01-02-06 13:26 nigel Status assigned => resolved
01-02-06 13:26 nigel Resolution open => fixed
01-02-06 13:26 nigel Fixed in Version  => 1.1.1alpha4
02-18-06 11:42 nigel Status resolved => closed
02-18-06 11:42 nigel Note Added: 0000322

  


Mantis 1.0.0rc2[^]
Copyright © 2000 - 2005 Mantis Group
43 total queries executed.
32 unique queries executed.
Powered by Mantis Bugtracker