DEV Community

Cover image for How to Build a Text Editor With Java (Part 3)
Marco Behler
Marco Behler

Posted on

 

How to Build a Text Editor With Java (Part 3)

Let's continue building our Java based, command-line text editor that we started here @ https://youtu.be/kT4JYQi9w4w .

This is Part 3 and we will cover:

  • How to implement Page Up & Page Down functionality.
  • How to make the End key work properly, including cursor snapping.
  • And how to make our text editor work on all operating systems, including macOS and Windows - not just Linux.

You're going to be in for a ride!

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.