changing allowed file types

This commit is contained in:
Nate Stemen 2017-11-22 11:25:02 -05:00
parent 2f03bb6015
commit ac9e27713d

View file

@ -8,7 +8,7 @@ define [
getTeXFiles: () -> getTeXFiles: () ->
texFiles = [] texFiles = []
ide.fileTreeManager.forEachEntity (entity, folder, path) -> ide.fileTreeManager.forEachEntity (entity, folder, path) ->
if entity.type == 'doc' && entity?.name?.match?(/.*\.(tex|sty|cls|dtx|ltx|def)/) if entity.type == 'doc' && entity?.name?.match?(/.*\.(tex|txt|md)/)
cloned = _.clone(entity) cloned = _.clone(entity)
cloned.path = path cloned.path = path
texFiles.push cloned texFiles.push cloned