LogoIntelliJ IDEA Guide
TipsTutorialsPlaylistsTechnologiesTopicsAbout

Get IntelliJ IDEA

Up to Marco Codes - Building a Text Editor
Previous
Marco Codes - Building a Text Editor

Introduction & ANSI Escape CodesTerminal Raw Mode & Terminal AttributesBuilding The Text Viewer SkeletonGetting Terminal Rows & Columns With The IOCTL APIBugfixing Flickering & Cursor PositioningThe Problem with Arrow Up & Down and Key MappingsHow to Move your CursorHow to Load and Display Text FilesSome Refactoring and ScrollingPage Up and Page DownHorizontal ScrollingEnd KeyCursor SnappingCursor Line WrappingMacOS and Windows SupportSummary
Next

Cursor Snapping

Autosnapping when you need it

Cursor Snapping

  • How to make sure the cursor auto-snaps when moving vertically between lines
End Key
Cursor Line Wrapping

Published

  • Helen Scott Thumbnail
    2022-11-13
    by:
    Helen Scott

Tutorial Steps

  • Introduction & ANSI Escape Codes

  • Terminal Raw Mode & Terminal Attributes

  • Building The Text Viewer Skeleton

  • Getting Terminal Rows & Columns With The IOCTL API

  • Bugfixing Flickering & Cursor Positioning

  • The Problem with Arrow Up & Down and Key Mappings

  • How to Move your Cursor

  • How to Load and Display Text Files

  • Some Refactoring and Scrolling

  • Page Up and Page Down

  • Horizontal Scrolling

  • End Key

  • Cursor Snapping

  • Cursor Line Wrapping

  • MacOS and Windows Support

  • Summary

Copyright © 2000–2023 JetBrains s.r.o.