示例#1
0
        void SetupTimer(Note note, TextIter start, TextIter end)
        {
            if (!start.StartsLine())
                start.BackwardLine();
            if (!end.EndsLine())
                end.ForwardToLineEnd ();

            Buffer.RemoveTag("reminder", start, end);
            //Buffer.RemoveAllTags(start, end); // This breaks stuff - what purpose does it serve?
            SetupTimer(Note, start.GetSlice(end), start.Line);
        }