I would like a method to get a field on the side of a string and pass to the other side after the '=' character, eg:
ColorPickerButton1.SelectedColor = My.Settings.getColorKeyword
ColorPickerButton2.SelectedColor = My.Settings.getColorPreprocessor
ColorPickerButton3.SelectedColor = My.Settings.getColorString
ColorPickerButton4.SelectedColor = My.Settings.getColorNumber
ColorPickerButton5.SelectedColor = My.Settings.getColorText
ColorPickerButton6.SelectedColor = My.Settings.getColorBackground
ColorPickerButton7.SelectedColor = My.Settings.getColorNumericCount
ColorPickerButton8.SelectedColor = My.Settings.getColorIndent
ColorPickerButton9.SelectedColor = My.Settings.getColorFoldingIndicator
ColorPickerButton10.SelectedColor = My.Settings.getColorCaret
I wanted you to reverse what is being assigned to what is being received. Example with the first item:
ColorPickerButton1.SelectedColor = My.Settings.getColorKeyword 'antigo
My.Settings.getColorKeyword = ColorPickerButton1.SelectedColor 'novo
Any website, method, anything that does this? (I have about 50 lines to flip, I did not want to do this manually).