I have the following text on the left hand side:
The corresponding text on the right hand side is:
I'm trying to get BC2 to weight based on the METHOD lines. It is currently aligning:
I want to align the following:
I've tried adding the following regular expression under the line weight options to get the alignment working, but it doesn't seem to help. I have tried the weight setting as 5000 and 10000.
^\s*METHOD\s+[a-zA-Z0-9_]+\(
Is there something I am missing?
Can I get Beyond Compare to recognize that the identifier after the METHOD keyword is important and that it should try to match them? (i.e. increase the weight on this).
Code:
METHOD EnableControls() AS VOID PASCAL CLASS HNDialogWindowTendering SELF:EnableButtons() SELF:FocusedObject := NULL_OBJECT SELF:lProcessing := FALSE RETURN METHOD GetAmountTendered() AS FLOAT PASCAL CLASS HNDialogWindowTendering RETURN Val(SELF:oDCAmountTendered:TextValue)
Code:
METHOD GetAmountTendered() CLASS HNDialogWindowTendering LOCAL nAmount AS FLOAT nAmount := Val(SELF:oDCAmountTendered:TextValue) RETURN nAmount
- METHOD EnableControls() AS VOID PASCAL CLASS HNDialogWindowTendering
- METHOD GetAmountTendered() CLASS HNDialogWindowTendering
I want to align the following:
- METHOD GetAmountTendered() AS FLOAT PASCAL CLASS HNDialogWindowTendering
- METHOD GetAmountTendered() CLASS HNDialogWindowTendering
I've tried adding the following regular expression under the line weight options to get the alignment working, but it doesn't seem to help. I have tried the weight setting as 5000 and 10000.
^\s*METHOD\s+[a-zA-Z0-9_]+\(
Is there something I am missing?
Can I get Beyond Compare to recognize that the identifier after the METHOD keyword is important and that it should try to match them? (i.e. increase the weight on this).
Comment