struct CrShader::HighlightSpan

Overview

Represents a single colored span at a character column for Godot's TextEdit / CodeEdit.

Defined in:

highlighter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(column : Int32, r : Float32, g : Float32, b : Float32, a : Float32 = 1.0_f32) #

Instance Method Detail

def a : Float32 #

def b : Float32 #

def column : Int32 #

def g : Float32 #

def r : Float32 #