When an existing file is opened, it is scanned to determine what type of indentation is used in that file. Wing then matches new indentation as the file is edited to the form already found in the file. If mixed forms of indentation are found, the most common form is used. If no indentation is found, space-only indents are inserted using the size set in preferences.