---
title: "markupEditViewController(_:insertNewLineWithStartMarker:endMarker:)"
framework: paperkit
role: symbol
role_heading: Instance Method
path: "paperkit/markupeditviewcontroller/delegate-swift.protocol/markupeditviewcontroller(_:insertnewlinewithstartmarker:endmarker:)"
---

# markupEditViewController(_:insertNewLineWithStartMarker:endMarker:)

Add a new line on top of the paper.

## Declaration

```swift
func markupEditViewController(_ markupEditViewController: MarkupEditViewController, insertNewLineWithStartMarker lineStartMarker: Bool, endMarker lineEndMarker: Bool)
```

## Parameters

- `markupEditViewController`: The source of the action.
- `lineStartMarker`: True if the start of the line has a marker / arrow.
- `lineEndMarker`: True if the end of the line has a marker / arrow.

## See Also

### Inserting content

- [markupEditViewController(_:insertNewShape:)](paperkit/markupeditviewcontroller/delegate-swift.protocol/markupeditviewcontroller(_:insertnewshape:).md)
- [markupEditViewControllerInsertNewTextbox(_:)](paperkit/markupeditviewcontroller/delegate-swift.protocol/markupeditviewcontrollerinsertnewtextbox(_:).md)
- [markupEditViewController(_:insertNewContents:)](paperkit/markupeditviewcontroller/delegate-swift.protocol/markupeditviewcontroller(_:insertnewcontents:).md)
