diff --git a/res/layouts/code_editor.xml b/res/layouts/code_editor.xml
index 4336ee4f..e684ccec 100644
--- a/res/layouts/code_editor.xml
+++ b/res/layouts/code_editor.xml
@@ -53,6 +53,7 @@
text-wrap='false'
scroll-step='50'
>
+
diff --git a/src/graphics/core/DrawContext.hpp b/src/graphics/core/DrawContext.hpp
index 7e1e18d5..d9c61c19 100644
--- a/src/graphics/core/DrawContext.hpp
+++ b/src/graphics/core/DrawContext.hpp
@@ -34,7 +34,7 @@ public:
Batch2D* getBatch2D() const;
const glm::uvec2& getViewport() const;
- DrawContext sub(Flushable* flushable=nullptr) const;
+ [[nodiscard]] DrawContext sub(Flushable* flushable=nullptr) const;
void setViewport(const glm::uvec2& viewport);
void setFramebuffer(Framebuffer* fbo);