Text Editor E02 - Keypresses & Implementing Scrolling

Опубликовано: 16 Сентябрь 2022
на канале: Marco Codes
4,698
153

Let's continue building our Java based, command-line text editor that we started here @    • Text Editor E01 - How to use ANSI Esc...   .

This is Part 2 and we will cover: How to detect "complex" key presses like arrow up, arrow down and friends. How to move the cursor around on the screen, how to load and display text files, as well as a first scrolling implementation.

You're going to be in for a ride!

► Source Repository
https://github.com/marcobehlerjetbrai... - Branch: episode-2

► Timestamps
00:00 Intro
00:44 Quick Start
00:58 The Problem with Arrow Up, Arrow Down and Friends
02:54 How to Map 3 or 4 Keys to 1
08:23 How to Move the Cursor
13:30 How to Load and Display Text Files
18:11 Refactorings & Clean-Up Before Scrolling
21:16 Scrolling Theory
22:23 How to Implement Scrolling
26:32 Recap & Next Episode

► Acknowledgements

A BIG thank you goes out to:

Paige Ruten - https://viewsourcecode.org/snaptoken/
antirez - http://antirez.com/news/108

► FOLLOW ME

  / marcobehler  
https://www.marcobehler.com