Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git
M build.gradle
3333
}
3434
35
version = '1.2.0'
35
version = '1.2.1'
3636
applicationName = 'scrivenvar'
3737
mainClassName = 'com.scrivenvar.Main'
M src/main/java/com/scrivenvar/MainWindow.java
727727
728728
  private DefinitionSource createDefinitionSource( final String path ) {
729
    final DefinitionSource ds
730
      = createDefinitionFactory().createDefinitionSource( path );
729
    DefinitionSource ds;
731730
732
    if( ds instanceof FileDefinitionSource ) {
733
      try {
734
        getSnitch().listen( ((FileDefinitionSource)ds).getPath() );
735
      } catch( final IOException ex ) {
736
        error( ex );
731
    try {
732
       ds = createDefinitionFactory().createDefinitionSource( path );
733
734
      if( ds instanceof FileDefinitionSource ) {
735
        try {
736
          getSnitch().listen( ((FileDefinitionSource)ds).getPath() );
737
        } catch( final IOException ex ) {
738
          error( ex );
739
        }
737740
      }
741
    } catch( final Exception ex ) {
742
      ds = new EmptyDefinitionSource();
743
      error( ex );
738744
    }
739745
M src/main/r/README.md
177177
Definition file variables are have the ability to reference other definitions. Try the following:
178178
179
    `r#x( v$editor$examples$math$x )`
180
    `r#x( v$editor$examples$math$y )`
181
    `r#x( v$editor$examples$math$z )`
179
    x = `r#x( v$editor$examples$math$x )`;
180
    y = `r#x( v$editor$examples$math$y )`;
181
    z = `r#x( v$editor$examples$math$z )`
182182
183183
The preview pane shows: