| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | public function connectTo($mode) |
||
| 10 | { |
||
| 11 | // Has hard coded awareness of lists... |
||
| 12 | $this->Lexer->addEntryPattern('\n (?![\*\-])', $mode, 'preformatted'); |
||
| 13 | $this->Lexer->addEntryPattern('\n\t(?![\*\-])', $mode, 'preformatted'); |
||
| 14 | |||
| 15 | // How to effect a sub pattern with the Lexer! |
||
| 16 | $this->Lexer->addPattern('\n ', 'preformatted'); |
||
| 17 | $this->Lexer->addPattern('\n\t', 'preformatted'); |
||
| 18 | } |
||
| 19 | |||
| 32 |