post refactor cleanup/corrections around commands

This commit is contained in:
2026-01-11 18:00:41 -06:00
parent fdb7fe2b2d
commit 0ee323c640
3 changed files with 3 additions and 3 deletions

View File

@@ -16,6 +16,6 @@ def execute(
): ):
logger.debug("Command: Get Current File") logger.debug("Command: Get Current File")
file = view.ommand.get_file(view) file = view.command.get_file(view)
return file return file

View File

@@ -20,7 +20,7 @@ def execute(
logger.debug("Command: Set Buffer") logger.debug("Command: Set Buffer")
if not file: if not file:
view.command.exec.new_file(view) view.command.new_file(view)
return return
view.set_buffer(file.buffer) view.set_buffer(file.buffer)

View File

@@ -17,7 +17,7 @@ def execute(
): ):
logger.debug("Command: Set Buffer Style") logger.debug("Command: Set Buffer Style")
buffer = editor.get_buffer() buffer = view.get_buffer()
buffer.set_style_scheme( buffer.set_style_scheme(
view.style_scheme_manager.get_scheme(style) view.style_scheme_manager.get_scheme(style)
) )