mirror of
https://github.com/textmate/textmate.git
synced 2026-01-15 01:38:02 -05:00
A document has both a virtual and an actual path. The virtual path is relevant e.g. when opening files via rmate, where we want to lookup file-type specific settings based on the remote path (filename) rather than the local temporary file. However, if there is no virtual path, we should fallback on the actual path, which broke when we made document_t a wrapper for OakDocument. There is now a new logical_path getter which return the virtual path and fallback on the actual path. Closes textmate/bugs#21