Minimum Profit API (5.1.0-rc1)

By Source

mp_edit.mpsl

Alphabetical

mp.break_line

Name

mp.break_line - Breaks current line in two (inserts a newline).

Synopsis

mp.break_line(doc, col);

Arguments

doc
the document
col
column where the newline will be inserted

Description

Breaks current line in two by inserting a newline character in between. If col is not NULL, the newline will be inserted in that column; otherwise, the current x position will be used.