MdConvertController

public class MdConvertController

Fields

recognizeBullet

public static final Pattern recognizeBullet

recognizeNumber

public static final Pattern recognizeNumber

Constructors

MdConvertController

public MdConvertController()

Methods

HandleGoToLineAction

public void HandleGoToLineAction()

HandleSaveButtonAction

public void HandleSaveButtonAction(ActionEvent event)

addTreeSummary

public void addTreeSummary()

getHScrollValue

public int getHScrollValue(WebView view)

Returns the horizontal scroll value, i.e. thumb position. This is equivalent to javafx.scene.control.ScrollBar.getValue().

Paramètres:
  • view
Retourne:

horizontal scroll value

getMdBox

public MdTextController getMdBox()

getSourceText

public StyleClassedTextArea getSourceText()

getVScrollValue

public int getVScrollValue(WebView view)

Returns the vertical scroll value, i.e. thumb position. This is equivalent to javafx.scene.control.ScrollBar.getValue().

Paramètres:
  • view – web view that shall be scrolled
Retourne:

vertical scroll value

initStats

public void initStats()

isSaved

public boolean isSaved()

markdownToHtml

public String markdownToHtml(String chaine)

performStats

public void performStats()

scrollTo

public void scrollTo(WebView view, int x, int y)

Scrolls to the specified position.

Paramètres:
  • view – web view that shall be scrolled
  • x – horizontal scroll value
  • y – vertical scroll value

setMdBox

public void setMdBox(MdTextController mdBox, Textual extract, Tab tab)

setSaved

public void setSaved(boolean isSaved)

updateRender

public void updateRender()