Skip to content

Commit

Permalink
Fixed statistics page
Browse files Browse the repository at this point in the history
  • Loading branch information
rnwzd committed Nov 10, 2020
1 parent 6d31fde commit 6e871c4
Show file tree
Hide file tree
Showing 74 changed files with 3 additions and 3 deletions.
Empty file modified .gitattributes
100644 → 100755
Empty file.
Empty file modified .github/FUNDING.yml
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .vscode/launch.json
100644 → 100755
Empty file.
Empty file modified .vscode/settings.json
100644 → 100755
Empty file.
Empty file modified .vscode/tasks.json
100644 → 100755
Empty file.
Empty file modified .vscodeignore
100644 → 100755
Empty file.
Empty file modified CHANGELOG.md
100644 → 100755
Empty file.
Empty file modified FAQ.md
100644 → 100755
Empty file.
Empty file modified Fountainexport spec draft.md
100644 → 100755
Empty file.
Empty file modified LICENSE.md
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified assets/note_dark.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/note_dark_offset.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/note_light.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/note_light_offset.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/scene.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/section1.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/section2.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/section3.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/section4.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/section5.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/synopse.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/synopse_offset.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/synopsis.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified flaticon.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified icon.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified icon.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified icon_fullres.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified jest.config.js
100644 → 100755
Empty file.
Empty file modified language-configuration.json
100644 → 100755
Empty file.
Empty file modified package-lock.json
100644 → 100755
Empty file.
Empty file modified package.json
100644 → 100755
Empty file.
Empty file modified screenshots/Dark_plus.PNG
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified screenshots/Github_dark.PNG
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/__mocks__/vscode.ts
100644 → 100755
Empty file.
Empty file modified src/afterwriting-parser.ts
100644 → 100755
Empty file.
Empty file modified src/configloader.ts
100644 → 100755
Empty file.
Empty file modified src/courierprime/courier-prime-bold-italic.ttf
100644 → 100755
Empty file.
Empty file modified src/courierprime/courier-prime-bold.ttf
100644 → 100755
Empty file.
Empty file modified src/courierprime/courier-prime-italic.ttf
100644 → 100755
Empty file.
Empty file modified src/courierprime/courier-prime.ttf
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/extension.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export async function exportPdf(showSaveDialog:boolean = true, openFileOnSave:bo

var parsed = await afterparser.parse(editor.document.getText(), config, false);

var exportconfig : ExportConfig = {highlighted_characters: []}
var exportconfig : ExportConfig = undefined
if ( highlightCharacters ) {
var highlighted_characters = await vscode.window.showQuickPick(Array.from(parsed.properties.characters.keys()) ,{canPickMany:true})
var exportconfig : ExportConfig = {highlighted_characters: highlighted_characters}
Expand Down
Empty file modified src/helpers.ts
100644 → 100755
Empty file.
Empty file modified src/noisetexture.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/pdf/liner.ts
100644 → 100755
Empty file.
Empty file modified src/pdf/pdf.ts
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions src/pdf/pdfmaker.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -490,11 +490,11 @@ import { openFile, revealFile, trimCharacterExtension, wordToColor } from "../ut

function get_text_properties(lline = line, expcfg = exportcfg, old_text_properties = general_text_properties) {
var new_text_properties = Object.assign({},old_text_properties)
if (lline.type === 'character') {
if (!!expcfg && lline.type === 'character') {
var character = trimCharacterExtension(lline.text)
// refer to Liner in ./liner.ts
character = character.replace(/([0-9]* - )/, "");
if (expcfg.highlighted_characters.includes(character)) {
if (!!expcfg.highlighted_characters && expcfg.highlighted_characters.includes(character)) {
new_text_properties.highlight = true;
new_text_properties.highlightcolor = wordToColor(character);
};
Expand Down
Empty file modified src/pdf/print.ts
100644 → 100755
Empty file.
Empty file modified src/preview.html
100644 → 100755
Empty file.
Empty file modified src/providers/Completion.ts
100644 → 100755
Empty file.
Empty file modified src/providers/Decorations.ts
100644 → 100755
Empty file.
Empty file modified src/providers/Folding.ts
100644 → 100755
Empty file.
Empty file modified src/providers/Outline.ts
100644 → 100755
Empty file.
Empty file modified src/providers/Preview.ts
100644 → 100755
Empty file.
Empty file modified src/providers/Symbols.ts
100644 → 100755
Empty file.
Empty file modified src/script_to_time.txt
100644 → 100755
Empty file.
Empty file modified src/statistics.ts
100644 → 100755
Empty file.
Empty file modified src/telemetry.ts
100644 → 100755
Empty file.
Empty file modified src/test/completion.test.ts
100644 → 100755
Empty file.
Empty file modified src/test/diagnostics.test.ts
100644 → 100755
Empty file.
Empty file modified src/test/helper.ts
100644 → 100755
Empty file.
Empty file modified src/test/index.ts
100644 → 100755
Empty file.
Empty file modified src/test/scripts/big_fish_crlf.fountain
100644 → 100755
Empty file.
Empty file modified src/test/scripts/big_fish_lf.fountain
100644 → 100755
Empty file.
Empty file modified src/test/scripts/brick_and_steel_crlf.fountain
100644 → 100755
Empty file.
Empty file modified src/test/scripts/brick_and_steel_lf.fountain
100644 → 100755
Empty file.
Empty file modified src/test/statistics.spec.ts
100644 → 100755
Empty file.
Empty file modified src/token.ts
100644 → 100755
Empty file.
Empty file modified src/utils.ts
100644 → 100755
Empty file.
Empty file modified src/utils/dispose.ts
100644 → 100755
Empty file.
Empty file modified src/utils/topMostLineMonitor.ts
100644 → 100755
Empty file.
Empty file modified syntaxes/fountain.tmlanguage
100644 → 100755
Empty file.
Empty file modified tsconfig.json
100644 → 100755
Empty file.

0 comments on commit 6e871c4

Please sign in to comment.