Properly Save Text from DisplayText
Fixed logic to support single character in a stepRTB (Fixed 127) Corrected code to deal with null AERStepItem Added code to respond to a Right Arrow for steps that don't have RNOs Changed KeyDown (Keys.Down) logic to support a Hard-Return at the end of a StepRTB
This commit is contained in:
@@ -1585,7 +1585,7 @@ namespace Volian.Controls.Library
|
||||
pos.Y = ClientRectangle.Height;
|
||||
int lastIndex = this.GetCharIndexFromPosition(pos);
|
||||
int lastLine = this.GetLineFromCharIndex(lastIndex);
|
||||
if (e.Control || l == lastLine)
|
||||
if (e.Control || l >= lastLine)
|
||||
{
|
||||
StepRTB_ArrowPressed(e.Control ? E_ArrowKeys.CtrlDown : E_ArrowKeys.Down);
|
||||
HandleLocalSelectionChange();
|
||||
@@ -1729,7 +1729,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
private void StepRTB_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
|
||||
{
|
||||
if (!ReadOnly)
|
||||
if (!ReadOnly)
|
||||
{
|
||||
// add the character with its font depending on the char....
|
||||
if (!IsControlChar)
|
||||
|
Reference in New Issue
Block a user