• M
    Fix onEnter Rules Language Mode When There is a Selection (#26410) · ce0c28a6
    Matt Bierner 提交于
    Fixes #26406
    
    **Bug**
    If there is an active selection, the on Enter rules may use the wrong language mode which results in the incorrect `afterEnterText`. See #26406 for an example of this case
    
    **Fix**
    Use language mode from the selection and  correctly compute offset when grabbing `afterEnterText`
    ce0c28a6
languageConfigurationRegistry.ts 16.0 KB