Introduce View objects context property
Used to determine if an instance of the given class should be closed or not when a project session is terminated.
This commit is contained in:
1 parent
9592ce85f5
commit
d46475532f
6 files changed
+10
-4
No files matched your search
@@ -9,6 +9,7 @@ local View = require "core.view"
|
||||
|
||||
local DocView = View:extend()
|
||||
|
||||
DocView.context = "session"
|
||||
|
||||
local function move_to_line_offset(dv, line, col, offset)
|
||||
local xo = dv.last_x_offset
|
||||
|
||||
Reference in new issue
Block a user