---
title: invalidateCharacterCoordinates()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nstextinputcontext/invalidatecharactercoordinates()
---

# invalidateCharacterCoordinates()

Notifies the Cocoa text input system that the position information previously queried via methods like firstRectForCharacterRange:actualRange: needs to be updated.

## Declaration

```swift
func invalidateCharacterCoordinates()
```

## See Also

### Handling Input Sources

- [handleEvent(_:)](appkit/nstextinputcontext/handleevent(_:).md)
- [discardMarkedText()](appkit/nstextinputcontext/discardmarkedtext().md)
- [keyboardInputSources](appkit/nstextinputcontext/keyboardinputsources.md)
- [selectedKeyboardInputSource](appkit/nstextinputcontext/selectedkeyboardinputsource.md)
- [localizedName(forInputSource:)](appkit/nstextinputcontext/localizedname(forinputsource:).md)
- [NSTextInputSourceIdentifier](appkit/nstextinputsourceidentifier.md)
