Adds a blank line to the output
Optionally controlling if the blank link must be added if the
previous line added isn't one blank line too.

@param bool $ifPrevNotBlank
17764
public function preOutputBlankLine($ifPrevNotBlank = false)
    {
        if (!$ifPrevNotBlank) {
            $this->code = PHP_EOL.$this->code;
            $this->lastLine = PHP_EOL;
            ++$this->currentPrints;
        } else {
            if (trim($this->lastLine)) {
                $this->code = PHP_EOL.$this->code;
                $this->lastLine = PHP_EOL;
                ++$this->currentPrints;
            }
        }
    }
716339
private function isPrevLineEmpty(int $startPosition): bool
    {
        $isPrevLineEmpty = true;
        $posPrevContentPos = $this->loadPrevDocBlockContent($startPosition);

        if ($posPrevContentPos !== -1) {
            $isPrevLineEmpty = $this->tokens[$startPosition]['line'] - 1 > $this->tokens[$posPrevContentPos]['line'];
        }

        return $isPrevLineEmpty;
    }
1243194
public void insertBefore(Vertex vtx, Vertex next) {
        vtx.prev = next.prev;
        if (next.prev == null) {
            head = vtx;
        } else {
            next.prev.next = vtx;
        }
        vtx.next = next;
        next.prev = vtx;
    }
750664
function(line, bbox) {
        var prev = line[0];
        for (var i = 1; i < line.length; i++) {
            var next = line[i];
            var clipped = this.clipLine([ prev, next ], bbox);
            if (clipped) {
                return true;
            }
            prev = next;
        }
        return false;
    }
483229
public function addFallbackLocale($locale, $preinit = false) {
		$locale = (string) $locale;
		$locale = $this->normalizeLocale($locale);
		
		if (in_array($locale, $this->fallbackLocales, true)) {
			return $this;
		}
		
		$this->fallbackLocales[] = $locale;
		
		if ($preinit) {
			$this->addPreinitLocale($locale);
		}
		
		return $this;
	}
1209258
protected function displayPrev()
    {
        if ($this->prev_page > 0) {
            $link = $this->getLink();

            $anchor = new SwatHtmlTag('a');
            $anchor->href = sprintf($link, (string) $this->prev_page);
            // this is a non-breaking space
            $anchor->setContent($this->previous_label);
            $anchor->class = 'swat-pagination-nextprev';
            $anchor->display();
        } else {
            $span = new SwatHtmlTag('span');
            $span->class = 'swat-pagination-nextprev';
            $span->setContent($this->previous_label);
            $span->display();
        }
    }
1372521
public function setPrev($prev)
    {
        $this->_links[self::PREV][self::HREF] = $prev;
        $this->removeEmptyLinks();

        return $this;
    }
1316502
static public function notBlank($value, $message = null, $propertyPath = null)
        {
            if (false === $value || (empty($value) && '0' != $value)) {
                $message = $message ?: sprintf(
                    'Value "%s" is blank, but was expected to contain a value.',
                    static::stringify($value)
                );

                throw static::createException($value, $message, static::INVALID_NOT_BLANK, $propertyPath);
            }
        }
1314397
protected function addNextLink($startRowNumber, &$nextLink)
    {
        $nextLink = $this->getLink($this->incrementPageRowNumber($startRowNumber), $this->getStyleClassAttributes('next'), $this->nextName);
    }
658703
private void fillBlankCell(String preCoordinate, String curCoordinate, boolean isEnd) {
		if (false == curCoordinate.equals(preCoordinate)) {
			int len = ExcelSaxUtil.countNullCell(preCoordinate, curCoordinate);
			if (isEnd) {
				len++;
			}
			while (len-- > 0) {
				rowCellList.add(curCell++, "");
			}
		}
	}
377078
public function ignoreBlank()
    {
        $this->filter(function ($value) {
            return !Text::make($value)->isBlank();
        }, Type::STRINGIFABLE);

        return $this;
    }
1186812
private function beforeClose()
    {
        if ($this->isWritable() && $this->lastLine !== '') {
            $this->stream->write("\r\n");
            $this->lastLine = '';
        }
    }
265227
public function setStrikethrough($pValue = false)
    {
        if ($pValue == '') {
            $pValue = false;
        }
        if ($this->isSupervisor) {
            $styleArray = $this->getStyleArray(array('strike' => $pValue));
            $this->getActiveSheet()->getStyle($this->getSelectedCells())->applyFromArray($styleArray);
        } else {
            $this->strikethrough = $pValue;
        }
        return $this;
    }
340303
public function tabUp ($blnLine = TRUE)
	{
		
		// Increment tabs
		
		$this->tabCount++;
		
		// Set tab string
		
		$this->setTabString ();
		
		// If line and auto spaces
		
		if ($blnLine && $this->autoSpaces)
		{
			
			// Add blank line
			
			$this->addLine ();
			
		}
		
	}
837243
protected function buildBeforeAfter(
        /*# string */ $beforeOrAfter,
        /*# string */ $position,
        array $settings
    )/*# : string */ {
        $clause = &$this->getClause($beforeOrAfter);
        if (isset($clause[$position])) {
            $line = $clause[$position];
            $sepr = $settings['seperator'];
            return $sepr . join($sepr, $line);
        } else {
            return '';
        }
    }
900973
public function setPrevNext()
    {
        if ($this->prevEvent && $this->nextEvent) {
            return $this;
        }
        $entries = $this->entries();

        $isPrev = false;
        $isNext = false;
        $firstEvent = false;
        $lastEvent = false;

        foreach ($entries as $event) {
            // Obtain th first event.
            if (!$firstEvent) {
                $firstEvent = $event;
            }
            $lastEvent = $event;
            // Find the current event
            if ($event->id() == $this->currentEvent()['id']) {
                $isNext = true;
                $isPrev = true;

                continue;
            }
            if (!$isPrev) {
                $this->prevEvent = $event;
            }
            // Store the next event
            if ($isNext) {
                $this->nextEvent = $event;

                $isNext = false;
            }
        }

        if ($this->entryCycle()) {
            if (!$this->nextEvent) {
                $this->nextEvent = $firstEvent;
            }

            if (!$this->prevEvent) {
                $this->prevEvent = $lastEvent;
            }
        }

        return $this;
    }
1274034
function() {
    this.setColour(Blockly.Blocks.logic.HUE);
    this.appendDummyInput()
        .appendField(Blockly.Msg.CONTROLS_IF_IF_TITLE_IF);
    this.setNextStatement(true);
    this.setTooltip(Blockly.Msg.CONTROLS_IF_IF_TOOLTIP);
    this.contextMenu = false;
  }