@JugglerShu - Maybe you can help point me in the correct direction here.  The problem is that I need to remove the whitespace from the actual line of the file here and write it back.  This isn't happening here as I thought as the line below `test = FALSE;` should has 8 spaces.  If you `==` on that line in VIM all of the whitespace should be removed which is not happening.
```
    if( test )
    {
        test = FALSE;
        
    }
```
I have the range of the `whiteSpaceRange` and the `filterRange` as well as the substring of the `filterRange`.  However what I'm not sure about is the best way to "edit" the line of the actual file to remove the whitespace or if if it's even allowed to edit from the `NSTextView+VimOperation`.  Just wanted to see what your thoughts were about this and how best to "edit" this line to remove all the found whitespace characters.