Ejemplo n.º 1
0
        /// <summary>
        /// Expands selection to the first non-whitespace char at the line.
        /// </summary>
        public static void SelectToLineHeadSmart(IUserInterface ui)
        {
            // change selection
            CaretMoveLogic.SelectTo(CaretMoveLogic.Calc_LineHeadSmart, ui);

            // update desired column
            ui.View.SetDesiredColumn();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Expands selection to file end.
        /// </summary>
        public static void SelectToFileEnd(IUserInterface ui)
        {
            // change selection
            CaretMoveLogic.SelectTo(CaretMoveLogic.Calc_FileEnd, ui);

            // update desired column
            ui.View.SetDesiredColumn();
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Expands selection up.
 /// </summary>
 public static void SelectToUp(IUserInterface ui)
 {
     // change selection
     CaretMoveLogic.SelectTo(CaretMoveLogic.Calc_Up, ui);
 }