function _HWLDF_WordAccumulator::_flushLine in Diff 7.2
Same name and namespace in other branches
- 5.2 DiffEngine.php \_HWLDF_WordAccumulator::_flushLine()
- 5 DiffEngine.php \_HWLDF_WordAccumulator::_flushLine()
- 6.2 DiffEngine.php \_HWLDF_WordAccumulator::_flushLine()
- 6 DiffEngine.php \_HWLDF_WordAccumulator::_flushLine()
- 7.3 DiffEngine.php \_HWLDF_WordAccumulator::_flushLine()
2 calls to _HWLDF_WordAccumulator::_flushLine()
File
- ./
DiffEngine.php, line 967 - A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)
Class
- _HWLDF_WordAccumulator
- @todo document @private @subpackage DifferenceEngine
Code
function _flushLine($new_tag) {
$this
->_flushGroup($new_tag);
if ($this->_line != '') {
array_push($this->_lines, $this->_line);
}
else {
// make empty lines visible by inserting an NBSP
array_push($this->_lines, NBSP);
}
$this->_line = '';
}