---
title: "Discussion on \"From Characters to Lines: Refactoring My Code Editor for Better Performance and Two-Way Scrolling\" | Hashnode"
description: "Discussion on \"From Characters to Lines: Refactoring My Code Editor for Better Performance and Two-Way Scrolling\". Enhance your code editor's performance with line-based handling, two-way scrolling using the controller pattern for better efficiency and usability"
url: "https://hashnode.com/posts/from-characters-to-lines-refactoring-my-code-editor-for-better-performance-and-two-way-scrolling/67d87e44b76f4019d8f762c6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [From Characters to Lines: Refactoring My Code Editor for Better Performance and Two-Way Scrolling](https://sourcemaneditor.hashnode.dev/from-characters-to-lines-refactoring-my-code-editor-for-better-performance-and-two-way-scrolling?utm_source=hashnode&utm_medium=feed)

Enhance your code editor's performance with line-based handling, two-way scrolling using the controller pattern for better efficiency and usability

Mar 17, 2025 · 9 min read · sourcemaneditor.hashnode.dev  
Read the article

-   [#twodimensionalscroll](https://hashnode.com/tag/twodimensionalscroll)
-   [#flutter](https://hashnode.com/tag/flutter)
-   [#custom-scrolling-in-flutter](https://hashnode.com/tag/custom-scrolling-in-flutter)

## Written by

[Jack “Jack Chen” PiggyInaBag](https://hashnode.com/@piggyinabag)

@piggyinabag

  
[View profile](https://hashnode.com/@piggyinabag)

developing SourcemanEditor

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
