Utility functions for custom indentation of line under cursor