mirror of
https://github.com/felixangell/phi.git
synced 2024-09-11 15:55:25 +03:00
14 lines
211 B
Go
14 lines
211 B
Go
package buff
|
|
|
|
import "github.com/felixangell/phi/lex"
|
|
|
|
func DeleteLine(v *BufferView, _ []*lex.Token) BufferDirtyState {
|
|
b := v.getCurrentBuff()
|
|
if b == nil {
|
|
return false
|
|
}
|
|
|
|
b.deleteLine()
|
|
return true
|
|
}
|