Support for source and code selection