Click here to Skip to main content
15,883,647 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: That Dammned Caret! Pin
TwoFaced25-Feb-07 10:06
TwoFaced25-Feb-07 10:06 
GeneralRe: That Dammned Caret! Pin
Anybloodyid25-Feb-07 11:27
Anybloodyid25-Feb-07 11:27 
QuestionRe: That Dammned Caret! Pin
Anybloodyid25-Feb-07 22:51
Anybloodyid25-Feb-07 22:51 
AnswerRe: That Dammned Caret! Pin
TwoFaced26-Feb-07 8:43
TwoFaced26-Feb-07 8:43 
GeneralRe: That Dammned Caret! Pin
Anybloodyid26-Feb-07 12:06
Anybloodyid26-Feb-07 12:06 
GeneralRe: That Dammned Caret! Pin
TwoFaced26-Feb-07 13:23
TwoFaced26-Feb-07 13:23 
Nice find I hadn't noticed that bug. The problem was when the font style was changed by the user m_LastFont never got updated. So if you then move the caret to a location that matches the original text you changed, the code thinks the new locations font style still matches the last location. The simple fix is update m_LastFont in your 'style' method to reflect the selectionfont. I just added the code 'm_LastFont = rtbText.SelectionFont' to the very end of the method and it seems to have fixed that bug. Hopefully there are no more surprises.
GeneralRe: That Dammned Caret! Pin
Anybloodyid26-Feb-07 22:02
Anybloodyid26-Feb-07 22:02 
GeneralRe: That Dammned Caret! Pin
TwoFaced27-Feb-07 9:02
TwoFaced27-Feb-07 9:02 
GeneralRe: That Dammned Caret! Pin
Anybloodyid27-Feb-07 21:49
Anybloodyid27-Feb-07 21:49 
GeneralRe: That Dammned Caret! Pin
TwoFaced28-Feb-07 8:46
TwoFaced28-Feb-07 8:46 
GeneralRe: That Dammned Caret! [modified] Pin
Anybloodyid28-Feb-07 11:31
Anybloodyid28-Feb-07 11:31 
QuestionVB.NET Printing Alignment??? Pin
harveyhanson25-Feb-07 9:10
harveyhanson25-Feb-07 9:10 
AnswerRe: VB.NET Printing Alignment??? Pin
Snews25-Feb-07 19:42
Snews25-Feb-07 19:42 
QuestionVB.NET 2005 Printing Help please Pin
harveyhanson25-Feb-07 7:37
harveyhanson25-Feb-07 7:37 
AnswerRe: VB.NET 2005 Printing Help please Pin
TwoFaced25-Feb-07 8:02
TwoFaced25-Feb-07 8:02 
GeneralRe: VB.NET 2005 Printing Help please Pin
harveyhanson25-Feb-07 8:21
harveyhanson25-Feb-07 8:21 
GeneralRe: VB.NET 2005 Printing Help please Pin
TwoFaced25-Feb-07 8:28
TwoFaced25-Feb-07 8:28 
GeneralRe: VB.NET 2005 Printing Help please [modified] Pin
harveyhanson25-Feb-07 8:34
harveyhanson25-Feb-07 8:34 
GeneralRe: VB.NET 2005 Printing Help please Pin
TwoFaced25-Feb-07 8:55
TwoFaced25-Feb-07 8:55 
GeneralRe: VB.NET 2005 Printing Help please Pin
harveyhanson25-Feb-07 9:09
harveyhanson25-Feb-07 9:09 
QuestionVS 2005 bindingsource using a complex filter Pin
steve_rm25-Feb-07 7:31
steve_rm25-Feb-07 7:31 
Questionkeeping a class in scope Pin
cstrader23225-Feb-07 7:14
cstrader23225-Feb-07 7:14 
AnswerRe: keeping a class in scope Pin
Christian Graus25-Feb-07 8:47
protectorChristian Graus25-Feb-07 8:47 
GeneralRe: keeping a class in scope Pin
cstrader23225-Feb-07 8:54
cstrader23225-Feb-07 8:54 
GeneralRe: keeping a class in scope Pin
cstrader23225-Feb-07 9:03
cstrader23225-Feb-07 9:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.